onDeleteSetDefault property

bool onDeleteSetDefault
final

When true, deletion of a parent will set this table's referencing column to the default, usually NULL unless otherwise declared. Defaults false.

This value is only applicable when decorating fields that are single associations (e.g. final SqliteModel otherSqliteModel). It is otherwise ignored.

Implementation

final bool onDeleteSetDefault;