-
Type: Task
-
Resolution: Duplicate
-
Priority: Minor - P4
-
Affects Version/s: None
-
Labels:None
Description
I've noticed that the documentation at https://docs.mongodb.com/manual/reference/operator/aggregation/lookup/#use-lookup-with-an-array says on using $lookup with an array as local field:
"If your localField is an array and you’d like to match the elements inside it against a foreignField which is a single element, you’ll need to $unwind the array as one stage of the aggregation pipeline."
This is no longer true since SERVER-22821 was fixed a while ago, isn't it? AFAIK you don't need to use $unwind anymore to join an array as local field against a single foreign value.
Scope of changes
Impact to Other Docs
MVP (Work and Date)
Resources (Scope or Design Docs, Invision, etc.)
- duplicates
-
DOCS-8930 lookup between local (multiple)array of values and foreign (single) value
- Closed
- is related to
-
SERVER-22881 lookup between local (multiple)array of values and foreign (single) value
- Closed