Skip to main content

AggregationOptions

@webda/models


Interface: AggregationOptions

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

Aggregation behavior of a repository, configured by its store

Properties​

fallback​

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

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

What to do when the backend cannot aggregate natively


maxGroups​

maxGroups: number

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

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


warn?​

optional warn?: (message) => void

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

Receives fallback warnings

Parameters​

message​

string

Returns​

void