File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed
reference/operator/aggregation Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -176,5 +176,9 @@ ref: views-restriction-out
176
176
content : |
177
177
178
178
Starting in MongoDB 4.2, the view definition ``pipeline`` cannot
179
- include the :pipeline:`$out` stage.
179
+ include the :pipeline:`$out` stage. If the view definition includes
180
+ nested pipeline (e.g. the view definition includes
181
+ :pipeline:`$lookup` or :pipeline:`$facet` stage), this
182
+ :pipeline:`$out` stage restriction applies to the nested pipelines
183
+ as well.
180
184
...
Original file line number Diff line number Diff line change @@ -308,7 +308,10 @@ Views
308
308
.. versionadded:: 4.2
309
309
310
310
The :pipeline:`$out` stage is not allowed as part of a :doc:`view
311
- definition </core/views>`.
311
+ definition </core/views>`. If the view definition includes nested
312
+ pipeline (e.g. the view definition includes :pipeline:`$lookup` or
313
+ :pipeline:`$facet` stage), this :pipeline:`$out` stage restriction
314
+ applies to the nested pipelines as well.
312
315
313
316
``linearizable`` Read Concern
314
317
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
You can’t perform that action at this time.
0 commit comments