File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -404,16 +404,15 @@ The current pipeline operators are:
404
404
:pipeline:`$group` pipeline operators.
405
405
406
406
- If you specify a target field for :pipeline:`$unwind` that
407
- does not exist in an input document, the document passes
408
- through :pipeline:`$unwind` unchanged .
407
+ does not exist in an input document, the input document is
408
+ ignored (generates no result documents) .
409
409
410
410
- If you specify a target field for :pipeline:`$unwind` that is
411
411
not an array, :mongodb:func:`aggregate()` generates an error.
412
412
413
413
- If you specify a target field for :pipeline:`$unwind` that
414
- holds an empty array (``[]``), then that field is removed
415
- from the result while all other fields are passed through
416
- unchanged.
414
+ holds an empty array (``[]``) in an input document, the input
415
+ document is ignored (generates no result documents).
417
416
418
417
.. pipeline:: $group
419
418
You can’t perform that action at this time.
0 commit comments