@photostructure/sqlite
    Preparing search index...

    Interface AggregateOptions

    interface AggregateOptions {
        deterministic?: boolean;
        directOnly?: boolean;
        inverse?: (accumulator: any, ...args: any[]) => any;
        result?: (accumulator: any) => any;
        start?: any;
        step: (accumulator: any, ...args: any[]) => any;
        useBigIntArguments?: boolean;
        varargs?: boolean;
    }
    Index

    Properties

    deterministic?: boolean

    If true, sets the SQLITE_DETERMINISTIC flag.

    false
    
    directOnly?: boolean

    If true, sets the SQLITE_DIRECTONLY flag.

    false
    
    inverse?: (accumulator: any, ...args: any[]) => any

    Optional function for window function support to reverse a step.

    result?: (accumulator: any) => any

    Optional function to compute the final result from the accumulator.

    start?: any

    The initial value for the aggregation.

    step: (accumulator: any, ...args: any[]) => any

    Function called for each row to update the aggregate state.

    useBigIntArguments?: boolean

    If true, converts integer arguments to BigInts.

    false
    
    varargs?: boolean

    If true, allows function to be invoked with variable arguments.

    false