Expose $multiply as both an accumulator and an expression

XMLWordPrintableJSON

    • Query Execution
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            [DO NOT USE] Backlog - Query Execution
            Reporter:
            Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated: