FunctionCallExpr class

Function call (scalar or aggregate). Evaluation of aggregate functions always throws here — the SELECT executor recognises and handles them out-of-band (per group).

Inheritance

Constructors

FunctionCallExpr(String name, List<Expr> args, {bool isStarArg = false, bool distinct = false, WindowSpec? window, Expr? filterExpr, List<WindowOrderItem>? aggOrderBy})

Properties

aggOrderBy List<WindowOrderItem>?
Optional ORDER BY ... inside an aggregate call (SQL standard, SQLite ≥ 3.44). Currently honored by GROUP_CONCAT / STRING_AGG / LISTAGG / JSON_GROUP_ARRAY / JSON_GROUP_OBJECT.
final
args List<Expr>
final
distinct bool
final
filterExpr Expr?
FILTER (WHERE ...) predicate; rows where the filter is false are excluded from the aggregate / window aggregate.
final
hashCode int
The hash code for this object.
no setterinherited
isAggregate bool
no setter
isStarArg bool
final
isWindow bool
no setter
name String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
window WindowSpec?
When non-null this call is a window function: fn(args) OVER (...). The window machinery in the SELECT executor evaluates these out-of-band and substitutes per-row values before normal projection.
final

Methods

eval(Map<String, Object?> row) Object?
Evaluate this expression in the context of row (column name -> value).
override
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