ForeignKeyConstraint class

Implemented types

Constructors

ForeignKeyConstraint({Ident? name, required List<Ident> columns, required ObjectName foreignTable, required List<Ident> referredColumns, ReferentialAction? onDelete, ReferentialAction? onUpdate})
const
ForeignKeyConstraint.fromJson(Object? json_)
Returns a new instance from a JSON value. May throw if the value does not have the expected structure.
factory

Properties

columns List<Ident>
final
foreignTable ObjectName
final
hashCode int
The hash code for this object.
no setteroverride
name Ident?
final
onDelete ReferentialAction?
final
onUpdate ReferentialAction?
final
referredColumns List<Ident>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({Option<Ident>? name, List<Ident>? columns, ObjectName? foreignTable, List<Ident>? referredColumns, Option<ReferentialAction>? onDelete, Option<ReferentialAction>? onUpdate}) ForeignKeyConstraint
Returns a new instance by overriding the values passed as arguments
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object?>
Returns a JSON representation of this.
override
toString() String
A string representation of this object.
override
toWasm() List<Object?>
Returns this as a WASM canonical abi value.
override

Operators

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