ForeignKeyMatchType enum
Defines how a foreign key should be matched.
- Inheritance
- Implemented types
- Available extensions
Values
- full → const ForeignKeyMatchType
-
full will not allow one column of a multicolumn foreign key to be null unless all foreign key columns are null.
- partial → const ForeignKeyMatchType
-
partial is not yet implemented in postgres. Don't use this.
- simple → const ForeignKeyMatchType
-
simple allows any of the foreign key columns to be null. If any of them are null, the row is not required to have a match in the referenced table. (Default)
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → int -
Returns a serialized JSON structure of the model which also includes
fields used by the database.
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromJson(
int index) → ForeignKeyMatchType
Constants
-
values
→ const List<
ForeignKeyMatchType> - A constant List of the values in this enum, in order of their declaration.