Skip to content

Latest commit

 

History

History
29 lines (14 loc) · 706 Bytes

File metadata and controls

29 lines (14 loc) · 706 Bytes

StageDefsAggregationFunction

Supported aggregation functions. These functions operate on document fields to produce aggregate metrics. All functions operate on the current pipeline results (in-memory).

Enum

  • COUNT (value: 'count')

  • COUNT_DISTINCT (value: 'count_distinct')

  • SUM (value: 'sum')

  • AVG (value: 'avg')

  • MIN (value: 'min')

  • MAX (value: 'max')

  • FIRST (value: 'first')

  • LAST (value: 'last')

  • COLLECT (value: 'collect')

  • COLLECT_DISTINCT (value: 'collect_distinct')

[Back to Model list] [Back to API list] [Back to README]