Details
-
New Feature
-
Resolution: Duplicate
-
Major - P3
-
None
-
None
-
None
Description
We have $add, $subtract, and other operators which can be used a $project operation, so it makes sense to add other basic operators, such as $max, $min, and $avg. I would expect each of these to take an array.
Yes, these could be constructed with existing operators, but it becomes tedious. In particular, the n-variable max case.
Attachments
Issue Links
- duplicates
-
SERVER-9625 Support many accumulators in aggregation framework as expressions
-
- Closed
-
- is related to
-
SERVER-17258 Add $reduce expression operator for rollup of arrays
-
- Closed
-