Allow for $pushall / $push with $each to allow pushing all elements of array in $group

XMLWordPrintableJSON

    • Query Optimization
    • Fully Compatible
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      I would like to be able to push all elements of an array field into a new field. So, in a $group, I could do a $push or $addToSet of a field that is an array field and the resulting field would be an array of the elements instead of an array of arrays.

      Seems like the $each operator in update is the solution if added to aggregations.

              Assignee:
              Militsa Sotirova
              Reporter:
              John Butler
              Votes:
              21 Vote for this issue
              Watchers:
              34 Start watching this issue

                Created:
                Updated:
                Resolved: