KeyAction enum
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.
Constructors
- KeyAction()
-
const
Values
- 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.
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited