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.
2 parents 2e6b296 + 675c146 commit bedcf96Copy full SHA for bedcf96
source/reference/aggregation/group.txt
@@ -20,7 +20,7 @@ $group (aggregation)
20
21
.. code-block:: javascript
22
23
- { _id : { author: 1, pageViews: 1, posted: 1 } }
+ { _id : { author: '$author', pageViews: '$pageViews', posted: '$posted' } }
24
25
With the exception of the ``_id`` field, :pipeline:`$group` cannot
26
output nested documents.
0 commit comments