Navigation
This version of the documentation is archived and no longer supported.

Arithmetic Aggregation Operators

Name Description
$add Computes the sum of an array of numbers.
$divide Takes two numbers and divides the first number by the second.
$mod Takes two numbers and calculates the modulo of the first number divided by the second.
$multiply Computes the product of an array of numbers.
$subtract Takes two numbers and subtracts the second number from the first.