onDeleteCascade property
When true, deletion of the referenced record by foreignKeyColumn
on the foreignTableName
this record. For example, if the foreign table is "departments" and the local table
is "employees," whenever that department is deleted, "employee"
will be deleted. 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 onDeleteCascade;