Details
-
Improvement
-
Resolution: Done
-
Major - P3
-
None
-
None
Description
As described in Charlie's comment, if the localField is an array matching against a field inside will behave as null.
We may want to note this and recommend that users unwind first if their localFields are arrays.
https://docs.mongodb.org/master/reference/operator/aggregation/lookup/#pipe._S_lookup
Attachments
Issue Links
- is related to
-
SERVER-21469 $lookup is not working in case of the localField is array
-
- Closed
-