Details
-
Bug
-
Resolution: Duplicate
-
Blocker - P1
-
None
-
None
-
None
-
None
-
ALL
-
Description
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.
Attachments
Issue Links
- duplicates
-
SERVER-59713 `$unwind` doesn't work on array subdocument fields
-
- Investigating
-