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 @@ -229,14 +229,18 @@ Definition
229
229
230
230
231
231
:returns:
232
- A :term:`cursor` to the documents produced by the final stage of
233
- the aggregation pipeline operation, or if you include the
234
- ``explain`` option, the document that provides
235
- details on the processing of the aggregation operation.
236
-
237
- If the pipeline includes the :pipeline:`$out` operator,
238
- :method:`~db.collection.aggregate()` returns an empty cursor. See
239
- :pipeline:`$out` for more information.
232
+ This method returns:
233
+
234
+ - A :term:`cursor` for the documents produced by the final stage of
235
+ the aggregation pipeline.
236
+
237
+ - If the pipeline includes the ``explain`` option, the query returns
238
+ a document that provides details on the processing of the
239
+ aggregation operation.
240
+
241
+ - If the pipeline includes the :pipeline:`$out` or
242
+ :pipeline:`$merge` operators, the query returns an empty cursor.
243
+
240
244
241
245
Behavior
242
246
--------
You can’t perform that action at this time.
0 commit comments