From 33c926e93601e8680d57ebe216e9385a139b0283 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 12 Dec 2021 22:05:52 -0800 Subject: [PATCH] DOCS-14980 updated lookup documentation --- source/reference/database-references.txt | 2 +- source/reference/operator/aggregation/lookup.txt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/source/reference/database-references.txt b/source/reference/database-references.txt index 9d75bce51b2..5487f6a5bed 100644 --- a/source/reference/database-references.txt +++ b/source/reference/database-references.txt @@ -21,7 +21,7 @@ or databases. .. important:: MongoDB 3.2 introduces :pipeline:`$lookup` pipeline stage to perform - a left outer join to an unsharded collection in the same database. + a left outer join to a collection in the same database. For more information and examples, see :pipeline:`$lookup`. Starting in MongoDB 3.4, you can also use :pipeline:`$graphLookup` diff --git a/source/reference/operator/aggregation/lookup.txt b/source/reference/operator/aggregation/lookup.txt index 34365643c60..d25c1720493 100644 --- a/source/reference/operator/aggregation/lookup.txt +++ b/source/reference/operator/aggregation/lookup.txt @@ -15,9 +15,9 @@ Definition .. pipeline:: $lookup - .. versionchanged:: 5.0 + .. versionchanged:: 5.1 - Performs a left outer join to an unsharded collection in the *same* + Performs a left outer join to a collection in the *same* database to filter in documents from the "joined" collection for processing. To each input document, the :pipeline:`$lookup` stage adds a new array field whose elements are the matching documents