MssqlIncludeStrategy enum

How a to-one relation is fetched.

To-many stays batch always: a join would multiply parent rows. join is opt-in for to-one so a missing counterpart stays a LEFT JOIN null rather than an absent IN-list key, and two children for one parent is a cardinality error rather than children.first.

Inheritance
Available extensions

Values

batch → const MssqlIncludeStrategy

One WHERE fk IN (…) per relation, grouped in memory. The default.

join → const MssqlIncludeStrategy

Parent keys LEFT JOINed to the target. To-one only.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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

Constants

values → const List<MssqlIncludeStrategy>
A constant List of the values in this enum, in order of their declaration.