js-bao-wss-client / AggregateDefinition
Interface: AggregateDefinition
An aggregate operation definition. Keys: groupBy, operations, filter, limit, sort.
Properties
filter?
optionalfilter?:OperationFilter
groupBy
groupBy:
string|AggregateGroupByEntry[]
limit?
optionallimit?:number
operations
operations:
string|AggregateOperation[]
sort?
optionalsort?:object
direction
direction:
-1|1
field
field:
string