-
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-94575 Enable featureFlagArrayAccumulators
- Open
-
SERVER-94760 [SBE] Implement $concatArrays $setWindowFields accumulator in SBE
- In Code Review
-
SERVER-92388 [SBE] Implement $setUnion group accumulator in SBE
- Closed
-
SERVER-94470 [SBE] Implement $concatArrays group accumulator in SBE
- Closed
-
SERVER-94759 [SBE] Implement $setUnion $setWindowFields accumulator in SBE
- Closed
- related to
-
SERVER-44174 $push and $addToSet should restrict memory usage
- Closed
-
SERVER-29339 allow using $reduce expression as accumulator in $group
- Backlog