A KeyAction can be used on a BuildColumn.references clause to describe how updates and deletes to a referenced table should propagate in your database.
By default, KeyAction.noAction will be used. For details, see the sqlite3 documentation.
- setNull → const KeyAction
Set the column to null when the referenced column changes.
- setDefault → const KeyAction
Set the column back to its default value when the referenced column changes.
- cascade → const KeyAction
Propagate updates and deletes into referencing rows.
- restrict → const KeyAction
Forbid deleting or updating the referenced column in a database if there are children pointing towards it.
- noAction → const KeyAction
No special action is taken when the parent key is modified or deleted from the database.
Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
) → String
A string representation of this object.
Object other) → bool
The equality operator.