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
5 changes: 3 additions & 2 deletions source/reference/aggregation.txt
Original file line number Diff line number Diff line change
Expand Up @@ -406,8 +406,9 @@ The current pipeline operators are:
not an array, :mongodb:func:`aggregate()` generates an error.

- If you specify a target field for :pipeline:`$unwind` that
holds an empty array (``[]``), then the document passes
through unchanged.
holds an empty array (``[]``), then that field is removed
from the result while all other fields are passed through
unchanged.

.. pipeline:: $group

Expand Down