File tree Expand file tree Collapse file tree 1 file changed +12
-8
lines changed Expand file tree Collapse file tree 1 file changed +12
-8
lines changed Original file line number Diff line number Diff line change @@ -221,14 +221,18 @@ Definition
221
221
222
222
223
223
:returns:
224
- A :term:`cursor` to the documents produced by the final stage of
225
- the aggregation pipeline operation, or if you include the
226
- ``explain`` option, the document that provides
227
- details on the processing of the aggregation operation.
228
-
229
- If the pipeline includes the :pipeline:`$out` operator,
230
- :method:`~db.collection.aggregate()` returns an empty cursor. See
231
- :pipeline:`$out` for more information.
224
+ This method returns:
225
+
226
+ - A :term:`cursor` for the documents produced by the final stage of
227
+ the aggregation pipeline.
228
+
229
+ - If the pipeline includes the ``explain`` option, the query returns
230
+ a document that provides details on the processing of the
231
+ aggregation operation.
232
+
233
+ - If the pipeline includes the :pipeline:`$out` or
234
+ :pipeline:`$merge` operators, the query returns an empty cursor.
235
+
232
236
233
237
Behavior
234
238
--------
You can’t perform that action at this time.
0 commit comments