MongoDB $sqrt

In MongoDB, the $sqrt aggregation pipeline operator calculates the square root of a positive number and returns the result as a double.

$sqrt accepts any valid expression that resolves to a non-negative number.

Read more

MongoDB $tan

In MongoDB, the $tan aggregation pipeline operator returns the tangent of a value that is measured in radians.

$tan accepts any valid expression that resolves to a number.

The $tan operator was introduced in MongoDB 4.2.

Read more

MongoDB $sinh

In MongoDB, the $sinh aggregation pipeline operator returns the hyperbolic sine of a value that is measured in radians.

$sinh accepts any valid expression that resolves to a number.

The $sinh operator was introduced in MongoDB 4.2.

Read more

MongoDB $sin

In MongoDB, the $sin aggregation pipeline operator returns the sine of a value that is measured in radians.

$sin accepts any valid expression that resolves to a number.

The $sin operator was introduced in MongoDB 4.2.

Read more

MongoDB $pow

In MongoDB, the $pow aggregation pipeline operator raises a number to the specified exponent and returns the result

$pow accepts two expressions, supplied in an array. The first one is the number, and the second is the exponent. Both can be any valid expression, as long as they resolve to a number.

Read more

MongoDB $log10

In MongoDB, the $log10 aggregation pipeline operator calculates the log base 10 of a number and returns the result as a double.

$log10 accepts any valid expression that resolves to a non-negative number.

The $log10 operator was introduced in MongoDB 3.2.

Read more

MongoDB $atanh

In MongoDB, the $atanh aggregation pipeline operator returns the hyperbolic arctangent (inverse hyperbolic tangent) of a value.

The return value is in radians.

$atanh accepts any valid expression that resolves to a number between -1 and 1.

The $atanh operator was introduced in MongoDB 4.2.

Read more

MongoDB $atan2

In MongoDB, the $atan2 aggregation pipeline operator returns the arctangent (inverse tangent) of one value divided by another.

You provide the two values in an array. Each of the two values provided to $atan2 can be any valid expression that resolves to a number.

The return value is in radians.

The $atan2 operator was introduced in MongoDB 4.2.

Read more

MongoDB $atan

In MongoDB, the $atan aggregation pipeline operator returns the arctangent (inverse tangent) of a value.

The return value is in radians.

$atan accepts any valid expression that resolves to a number.

The $atan operator was introduced in MongoDB 4.2.

Read more