Libraries v5.0.0
    Preparing search index...

    Interface AggregateExpression<T>

    An aggregate description; evaluated by SQL, never once per application row.

    interface AggregateExpression<T> {
        __result?: T;
        "[EXPRESSION]": {
            column?: SelectableColumn;
            kind: AggregateKind;
            output?: OutputSchema<unknown>;
        };
    }

    Type Parameters

    • T
    Index
    __result?: T

    Type-only marker describing the decoded result of this SQL expression.

    "[EXPRESSION]": {
        column?: SelectableColumn;
        kind: AggregateKind;
        output?: OutputSchema<unknown>;
    }