Details
-
Improvement
-
Resolution: Duplicate
-
Minor - P4
-
None
-
2.6.3
-
None
Description
It would be very usefull if $addToSet in $group had an option to add members of an array to the set similar to the $each modifier to the $addToSet update modifier.
Something like $group: {..., mySet: {$addToSet: {$each: "$myArrar"}}}
Attachments
Issue Links
- duplicates
-
SERVER-16284 Allow for $pushall / $push with $each to allow pushing all elements of array in $group
-
- Open
-