RelationHook class abstract

Optional hook drivers can use to customize how eager-loaded relations materialize after the base query fetches rows.

Constructors

RelationHook()

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

handleRelations<T extends OrmEntity>(QueryContext context, QueryPlan plan, ModelDefinition<T> parentDefinition, List<QueryRow<T>> parents, List<RelationLoad> relations) Future<void>
Populates the relations for every item in parents.
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