Details
-
Bug
-
Resolution: Unresolved
-
Major - P3
-
None
-
None
-
Query Optimization
-
Major Change
-
ALL
Description
> db.foo.insert({x: [{y: [1, 2]}, {y: [3, 4]}]})
|
WriteResult({ "nInserted" : 1 }) |
> db.foo.aggregate([{$unwind: '$x.y'}]) |
// Produces no output. |
This is not very intuitive, and there doesn't seem to be any obvious reasonable output, so we should error in this case.
Attachments
Issue Links
- is duplicated by
-
SERVER-26404 lookup for array inside a subdocument
-
- Closed
-
- is related to
-
SERVER-6436 Add method for unwinding nested arrays
-
- Backlog
-
- related to
-
SERVER-6436 Add method for unwinding nested arrays
-
- Backlog
-