Add method for unwinding nested arrays

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Aggregation Framework
    • Query Execution
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Right now $unwind can only unwind an array that is not nested within another array. For example 'a.b' can be unwound in this document:

      { a:{ b:[ 1, 2 ] } }
      
      but not in this one:
      
      { a:[ { b:1 }, { b:2 } ] }
      
      and not in this one:
      
      { a:[ { b:[ 1, 2 ] } ] }
      

      Current behavior is to not unwind anything in these cases.

              Assignee:
              [DO NOT USE] Backlog - Query Execution
              Reporter:
              Aaron Staple (Inactive)
              Votes:
              4 Vote for this issue
              Watchers:
              14 Start watching this issue

                Created:
                Updated: