ForeignKey class

Constructors

ForeignKey(String table, String column, {required String foreignTable, required String foreignTableColumn, bool nullable = false, ForeignKeyAction? onUpdate, ForeignKeyAction? onDelete, String? constraint})
const

Properties

column String
final
constraint String?
final
foreignTable String
final
foreignTableColumn String
final
hashCode int
The hash code for this object.
no setterinherited
nullable bool
final
onDelete ForeignKeyAction?
final
onUpdate ForeignKeyAction?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
table String
final

Methods

actions({ForeignKeyAction? onUpdate, ForeignKeyAction? onDelete}) ForeignKey
constrained({String? name}) ForeignKey
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited