-
Type:
New Feature
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Aggregation Framework
-
Query Optimization
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.
- is duplicated by
-
SERVER-23839 Aggregation accumulators does not allow the new "direct" array notation
-
- Closed
-
-
SERVER-14340 Option for $addToSet to work on array members
-
- Closed
-
-
SERVER-27484 allow $setUnion in $group
-
- Closed
-
- is related to
-
SERVER-92388 [SBE] Implement $concatArrays and $setUnion accumulators in SBE
-
- Open
-
- related to
-
SERVER-44174 $push and $addToSet should restrict memory usage
-
- Closed
-
-
SERVER-29339 allow using $reduce expression as accumulator in $group
-
- Backlog
-