-
Type: Bug
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Aggregation Framework
-
ALL
-
Schema:
{
x:
,
a: [{
_b:
,
c:
,
_d:
,
e: {
f:
}
}]
}
lookup stage:
{
"$lookup":
},
{
"$unwind":
}
expected result:
{
x:/.../,
a:{
_b:[Object],
c:/.../,
_d:/.../,
e:
}
}
result:
{
x:/.../,
a:
,
}
As you can see above, fields inside the "a" gets overwritten by the $lookup operation.
- duplicates
-
SERVER-42306 $lookup with an array of sub objects should allow for an option to allow each sub object to find join partners
- Backlog