File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -395,24 +395,25 @@ The current pipeline operators are:
395
395
396
396
.. note::
397
397
398
- The following behaviors are present in :pipeline:`$unwind`:
398
+ :pipeline:`$unwind` has the following behaviors :
399
399
400
400
- :pipeline:`$unwind` is most useful in combination
401
401
with :pipeline:`$group`.
402
402
403
- - The effects of an unwind can be undone with the
404
- :pipeline:`$group` pipeline operators .
403
+ - You may undo the effects of unwind operation with the
404
+ :pipeline:`$group` pipeline operator .
405
405
406
406
- If you specify a target field for :pipeline:`$unwind` that
407
- does not exist in an input document, the input document is
408
- ignored ( generates no result documents) .
407
+ does not exist in an input document, the pipeline ignores the
408
+ input document, and will 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 (``[]``) in an input document, the input
415
- document is ignored (generates no result documents).
414
+ holds an empty array (``[]``) in an input document, the
415
+ pipeline ignores the input document, and will generates no
416
+ result documents.
416
417
417
418
.. pipeline:: $group
418
419
You can’t perform that action at this time.
0 commit comments