ManyRelation<T extends Table> class

Many relation field between two tables.

Constructors

ManyRelation({required T tableWithRelations, required T table})
Creates a new ManyRelation.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

any([Expression where(T)?]) AnyExpression
Returns all models where any of the related models match filtering criteria.
count([Expression where(T)?]) ColumnCount
Returns an expression that counts the number of rows in the relation.
every(Expression where(T)) EveryExpression
Returns all models where all of the related models match filtering criteria.
none([Expression where(T)?]) NoneExpression
Returns all models where none of the related models match filtering criteria.
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