ManyToMany<T extends DatumEntityInterface> class

Inheritance

Constructors

ManyToMany(RelationalDatumEntity parent, DatumEntityInterface pivotEntity, String thisForeignKey, String otherForeignKey, {String thisLocalKey = 'id', String otherLocalKey = 'id', List<T>? value, CascadeDeleteBehavior cascadeDeleteBehavior = CascadeDeleteBehavior.none})

Properties

cascadeDeleteBehavior CascadeDeleteBehavior
finalinherited
hashCode int
The hash code for this object.
no setterinherited
otherForeignKey String
final
otherLocalKey String
final
pivotEntity DatumEntityInterface
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shouldCascadeDelete bool
Returns true if this relation should cascade delete operations.
no setterinherited
shouldRestrictDelete bool
Returns true if this relation should restrict delete operations.
no setterinherited
shouldSetNullOnDelete bool
Returns true if this relation should set foreign keys to null.
no setterinherited
thisForeignKey String
final
thisLocalKey String
final
value List<T>?
no setteroverride

Methods

fetch() Future<List<T>?>
getRelatedManager() DatumManager<T>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
set(List<T>? value) → void
toString() String
A string representation of this object.
inherited

Operators

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