Aggregation queries

To find JSON documents or aggregate and calculate fields in a JSON document, queries can be constructed with aggregation tasks and operators.

Aggregation tasks specify a set of rules that define the following points:
  • The fields to return and how to calculate those fields.
  • The criteria the documents must match.
  • The result set characteristics like sort order, size, and offsets.