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

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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.