AggregateExpr class

An aggregate call: SUM(x), COUNT(x), AVG(x), MIN(x), MAX(x). The function is one of "SUM", "COUNT", "AVG", "MIN", "MAX". distinct emits DISTINCT (COUNT(DISTINCT x)).

Inheritance
Available extensions

Constructors

AggregateExpr(String function, Expr selector, {bool distinct = false})
const

Properties

distinct → bool
final
function → String
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
selector → Expr
final

Methods

accept<R>(ExprVisitor<R> v) → R
External visitor for providers (SQL translator, codegen emitter, …).
override
eval(Map<String, Object?> ctx) → Object?
In-memory evaluation against a context.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited