Type Alias AggregatePushdownCapability

AggregatePushdownCapability: {
    canPushdownAggregates: boolean;
    evaluateAggregate?: (
        request: PushdownAggregateRequest,
    ) => Promise<number | undefined>;
}

Type declaration

  • canPushdownAggregates: boolean

    Store advertises native SUM/AVG/COUNT over filtered subjects.

  • OptionalevaluateAggregate?: (request: PushdownAggregateRequest) => Promise<number | undefined>

    Optional native evaluator. When absent but canPushdownAggregates is true, callers should still fall back to JS (capability without implementation).