toColumns method Null safety

Map<String, Expression> toColumns(
  1. bool nullToAbsent

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.


Map<String, Expression> toColumns(bool nullToAbsent);