Libraries v5.0.0
    Preparing search index...

    Interface AggregateOptions<S>

    A supplied schema replaces default decoding and receives the raw SQL value.

    interface AggregateOptions<S extends OutputSchema<any> | undefined = undefined> {
        output?: S;
    }

    Type Parameters

    Index
    output?: S

    Replace the default decoder with this parser; its output type becomes the aggregate result type.