toColumns abstract method
Converts this object into a map of column names to expressions to insert or update.
Note that the keys in the map are the raw column names, they're not escaped.
The nullToAbsent
can be used on DataClasses to control whether null
fields should be set to a null constant in sql or absent from the map.
Other implementations ignore that nullToAbsent
, it mainly exists for
legacy reasons.
Implementation
Map<String, Expression> toColumns(bool nullToAbsent);