Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions source/reference/aggregation.txt
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,10 @@ The current pipeline operators are:
a single field from the documents in the pipeline, a previously computed
value, or an aggregate key made up from several incoming fields.

.. note::

An aggregate key takes the format: ``{myKeyName: { author:true, myOtherField:true , YetAnotherField:true}}``.

Every group expression must specify an ``_id`` field.
You may specify the ``_id`` field as a dotted
field path reference, a document with multiple fields enclosed in
Expand Down