validateAggregation
Function: validateAggregation()
validateAggregation(
query):AggregationQuery
Defined in: packages/ql/src/aggregation-query.ts:135
Validate an aggregation query
Paths and aliases that pass are safe to interpolate in native queries. Path segments cannot be
all digits (array indexes are not portable). A missing groupBy is normalized to [].
Parameters
query
the query to validate
Returns
the same query
Throws
WebdaQLError when the query is invalid