AggregateFunctionExpression<D extends Object> constructor

AggregateFunctionExpression<D extends Object>(
  1. String functionName,
  2. List<FunctionParameter> arguments, {
  3. Expression<bool>? filter,
  4. bool distinct = false,
  5. OrderBy? orderBy,
})

Creates an aggregate function expression from the syntactic components.

Implementation

AggregateFunctionExpression(
  this.functionName,
  this.arguments, {
  Expression<bool>? filter,
  this.distinct = false,
  this.orderBy,
}) : filter = filter != null ? Where(filter) : null;