Skip to main content

AggregationOptions

@webda/models


Interface: AggregationOptions

Defined in: packages/models/src/aggregation.ts:62

Aggregation behavior of a repository, configured by its store

Properties​

fallback​

fallback: "allow" | "warn" | "deny"

Defined in: packages/models/src/aggregation.ts:66

What to do when the backend cannot aggregate natively


maxGroups​

maxGroups: number

Defined in: packages/models/src/aggregation.ts:70

Maximum number of groups computed in memory, or returned without LIMIT natively


warn?​

optional warn?: (message) => void

Defined in: packages/models/src/aggregation.ts:74

Receives fallback warnings

Parameters​

message​

string

Returns​

void