Skip to main content

normalize_insert_column

Function normalize_insert_column 

Source
pub fn normalize_insert_column(name: &ObjectName) -> Result<String>
Expand description

Normalize a single entry of an INSERT column list.

The parser models these as ObjectName, but an INSERT target column is always one plain identifier: a qualified form like t.col names no column NodeDB can write to, and a function part is not a name at all. Both are typed errors — taking the last part of a qualified name binds values to a column the statement never asked for.