ConstDescribe AVG(column), preserving database numeric text or null by default. An output parser can explicitly convert it to a number or domain decimal type. Text output cannot recover precision already lost in floating-point storage.
Optionaloptions: AggregateOptions<S>Describe COUNT(*) or COUNT(column) for a typed projection or HAVING clause.
Optionalcolumn: SelectableColumn
Omit to count rows; supply a column to count its non-null values.
Optionaloptions: AggregateOptions<S>
Optional raw-value parser; use undefined as column for custom COUNT(*).
An expression decoded as a safe number unless a parser is supplied.
Describe COUNT(DISTINCT column), excluding nulls.
Optionaloptions: AggregateOptions<S>
Optional parser replacing checked safe-integer decoding.
A typed aggregate expression, not an executed query.
Describe MAX(column), returning the column representation or null. Numeric/decimal/bigint SQL overrides preserve exact strings; dates return Date. An optional output parser replaces this decoding policy.
Optionaloptions: AggregateOptions<S>Describe MIN(column), returning the column representation or null. Numeric/decimal/bigint SQL overrides preserve exact strings; dates return Date. An optional output parser replaces this decoding policy.
Optionaloptions: AggregateOptions<S>Describe SUM(column) with exact database numeric text as the default result. Empty/all-null inputs produce null. An output parser receives the raw driver value and takes responsibility for precision and null handling.
Optionaloptions: AggregateOptions<S>
Typed aggregate expressions for scalar or grouped object projections.