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 @@ -209,14 +209,18 @@ Definition
209209
210210
211211 :returns:
212- A :term:`cursor` to the documents produced by the final stage of
213- the aggregation pipeline operation, or if you include the
214- ``explain`` option, the document that provides
215- details on the processing of the aggregation operation.
216-
217- If the pipeline includes the :pipeline:`$out` operator,
218- :method:`~db.collection.aggregate()` returns an empty cursor. See
219- :pipeline:`$out` for more information.
212+ This method returns:
213+
214+ - A :term:`cursor` for the documents produced by the final stage of
215+ the aggregation pipeline.
216+
217+ - If the pipeline includes the ``explain`` option, the query returns
218+ a document that provides details on the processing of the
219+ aggregation operation.
220+
221+ - If the pipeline includes the :pipeline:`$out` or
222+ :pipeline:`$merge` operators, the query returns an empty cursor.
223+
220224
221225Behavior
222226--------
You can’t perform that action at this time.
0 commit comments