-
Type: Improvement
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: 2.5.2
-
Component/s: Aggregation Framework
-
Query Execution
This would perform like $sum, but compute the multiplied product instead of an additive sum.
Just as these operators became available both as accumulators (for grouping) and expressions (for simple transformations like in $project) in 3.2, we should make $multiply work with an array of inputs, and also be available as an accumulator during the $group stage.
- is duplicated by
-
SERVER-32789 Add $product to calculate aggregate multiplication
- Closed
-
SERVER-10676 $multiply does not support a reference to an array
- Closed
- is related to
-
SERVER-17258 Add $reduce expression operator for rollup of arrays
- Closed
-
SERVER-10676 $multiply does not support a reference to an array
- Closed
- related to
-
SERVER-10681 $multiply operator cannot processed a referenced array field
- Closed