Skip to main content

AggregationInput

@webda/ql


Interface: AggregationInput

Defined in: packages/ql/src/aggregation.ts:228

Untyped object form of an aggregation, as accepted by repositories

Properties​

filter?​

optional filter?: string

Defined in: packages/ql/src/aggregation.ts:232

WebdaQL filter, without ORDER BY / LIMIT / OFFSET


groupBy?​

optional groupBy?: readonly string[]

Defined in: packages/ql/src/aggregation.ts:233


limit?​

optional limit?: number

Defined in: packages/ql/src/aggregation.ts:236


metrics​

metrics: Record<string, MetricInput>

Defined in: packages/ql/src/aggregation.ts:234


orderBy?​

optional orderBy?: readonly AggregationOrder[]

Defined in: packages/ql/src/aggregation.ts:235