MssqlRelationAggregate<TParent> class
One correlated aggregate to project beside the parent row.
Each spec compiles to its own scalar subquery. Two to-many paths therefore cannot share a join that would make one count a product of the other.
- Annotations
-
- @immutable
Constructors
-
MssqlRelationAggregate({required MssqlRelation<
TParent, Object?> relation, required String alias, required MssqlExpression expression}) -
expressionis typicallyCOUNT_BIG(*)orSUM(column).
Properties
- alias → String
-
Result-set column name.
final
- expression → MssqlExpression
-
Aggregate expression evaluated in the correlated subquery.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
relation
→ MssqlRelation<
TParent, Object?> -
The same handle
include/whereHaswould use.final - 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
Static Methods
-
of<
TParent, TChild> ({required MssqlRelation< TParent, TChild> relation, required String alias, required MssqlExpression expression}) → MssqlRelationAggregate<TParent> - Typed handle → erased child, for mixed aggregate lists.