Skip to content

SERVER-6131 Correct description of behavior when $unwind is applied to a... #51

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 26, 2012
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