File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed
source/reference/operator/aggregation Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -10,13 +10,13 @@ $graphLookup (aggregation)
10
10
:depth: 1
11
11
:class: singlecol
12
12
13
- .. versionchanged:: 3.4
14
-
15
13
Definition
16
14
----------
17
15
18
16
.. pipeline:: $graphLookup
19
17
18
+ .. versionchanged:: 5.1
19
+
20
20
Performs a recursive search on a collection, with options for
21
21
restricting the search by recursion depth and query filter.
22
22
Original file line number Diff line number Diff line change @@ -15,15 +15,18 @@ Definition
15
15
16
16
.. pipeline:: $lookup
17
17
18
- .. versionchanged:: 5.0
18
+ .. versionchanged:: 5.1
19
19
20
- Performs a left outer join to an unsharded collection in the *same*
20
+ Performs a left outer join to a collection in the *same*
21
21
database to filter in documents from the "joined" collection for
22
22
processing. To each input document, the :pipeline:`$lookup` stage
23
23
adds a new array field whose elements are the matching documents
24
24
from the "joined" collection. The :pipeline:`$lookup` stage passes
25
25
these reshaped documents to the next stage.
26
26
27
+ Starting in MongoDB 5.1, :pipeline:`$lookup` works across sharded
28
+ collections.
29
+
27
30
Syntax
28
31
------
29
32
You can’t perform that action at this time.
0 commit comments