-
Type: Bug
-
Resolution: Duplicate
-
Priority: Blocker - P1
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
ALL
-
When using the AggregationPipeline, $unwind always gives an empty result with nested fields
For example:
{ "$unwind": "$addresses.city" }
Adding a $project stage will fix the issue:
{ "$project": { "p" => "$addresses.city" } } { "$unwind": "$p" }
Refer to Steps to Reproduce below for details.
- duplicates
-
SERVER-59713 `$unwind` doesn't work on array subdocument fields
- Investigating