IncludedRelation class

Information about an included relation.

Constructors

IncludedRelation({required String name, required String fieldName, required RelationInfo relation, required String tableAlias, required String parentAlias, List<IncludedRelation> nestedIncludes = const []})
const

Properties

fieldName String
The immediate field name for object key assignment (e.g., 'posts' or 'author'). For top-level relations, this equals name. For nested relations, this is just the last segment (e.g., 'author' instead of 'posts.author').
final
hashCode int
The hash code for this object.
no setterinherited
name String
The relation path name used for column prefix matching (e.g., 'posts' or 'posts.author').
final
nestedIncludes List<IncludedRelation>
Nested includes within this relation.
final
parentAlias String
The parent table alias (for nested relations).
final
relation RelationInfo
The relation info from schema.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tableAlias String
Table alias used in the query.
final

Methods

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