We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eaec3af commit ad2980cCopy full SHA for ad2980c
source/reference/operator/aggregation/group.txt
@@ -30,8 +30,8 @@ Definition
30
{ $group: { _id: <expression>, <field1>: { <accumulator1> : <expression1> }, ... } }
31
32
The ``_id`` field is *mandatory*; however, you can specify an
33
- ``_id`` value of null to calculate accumulated values for all the
34
- input documents as a whole.
+ ``_id`` value of null, or any other constant value, to calculate
+ accumulated values for all the input documents as a whole.
35
36
The remaining computed fields are *optional* and computed using the
37
``<accumulator>`` operators.
0 commit comments