-
Type:
New Feature
-
Resolution: Unresolved
-
Priority:
Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: Aggregation Framework
-
Query Optimization
-
None
-
None
-
None
-
None
-
None
-
None
-
None
{ $lookup: {
from: <collection to join>,
localField: <field from the input documents>,
excludeLocalField: <boolean>
foreignField: <field from the documents of the "from" collection>,
as: <output array field>
} }
If excludeLocalField = true then localField is removed from output
IMHO: excludeLocalField must be default to true (excludedd by default)
- is duplicated by
-
SERVER-18966 Allow exclusion in $project stage of aggregation pipeline
-
- Closed
-