Skip to main content

AggregationInput

@webda/ql


Interface: AggregationInput

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

Untyped object form of an aggregation, as accepted by repositories

Properties​

filter?​

optional filter?: string

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

WebdaQL filter, without ORDER BY / LIMIT / OFFSET


groupBy?​

optional groupBy?: readonly string[]

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

Group by


limit?​

optional limit?: number

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

Limit


metrics​

metrics: Record<string, MetricInput>

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

Metrics


orderBy?​

optional orderBy?: readonly AggregationOrder[]

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

Order by