clientDefault property

(T? Function()?) clientDefault
final

A function that yields a default column for inserts if no value has been set. This is different to defaultValue since the function is written in Dart, not SQL. It's a compile-time error to declare columns where both defaultValue and clientDefault are non-null.

See also: BuildColumn.clientDefault.

Implementation

final T? Function()? clientDefault;