Skip to main content
Version: 3.0 Alpha

Aggregate

The aggregate method allows you to conduct multiple aggregations on a set of records with one operation. The supported aggregations are:

  • _count - equivalent to the Count API.
  • _sum - sum of a numeric field.
  • _avg - average of a numeric field.
  • _min - minimum value of a field.
  • _max - maximum value of a field.

You can also use where, orderBy, skip, and take to control what records are included in the aggregation.

Samples

Click here to pop out if the embed doesn't load an interactive terminal.
Comments
Feel free to ask questions, give feedback, or report issues.

Don't Spam


You can edit/delete your comments by going directly to the discussion, clicking on the 'comments' link below