Generates an $anyElementTrue expression that Takes array of the previously mentioned field and returns
true if any of the elements are true and false otherwise.
Generates a $arrayElemAt expression that takes the string representation of the previously mentioned
field and returns the element at the specified array position.
Generates a $ceil expression that takes the number of the previously mentioned field and returns the
smallest integer greater than or equal to the specified number.
Generates a $concatArrays expression that takes the string representation of the previously mentioned
field and concats it with the arrays from the referenced fields.
Generates a $setDifference expression that takes array of the previously mentioned field and returns an
array containing the elements that do not exist in the given array.
Generates a $setEquals expression that compares the previously mentioned field to one or more arrays and
returns true if they have the same distinct elements and false otherwise.
Generates a $setIntersection expression that takes array of the previously mentioned field and one or
more arrays and returns an array that contains the elements that appear in every of those.
Generates a $log expression that takes the number of the previously mentioned field and calculates the
log of the associated number in the specified base.
Generates a $log expression that takes the number of the previously mentioned field and calculates the
log of the associated number in the specified base.
Generates a $log expression that takes the number of the previously mentioned field and calculates the
log of the associated number in the specified base.
Generates a $strcasecmp expression that takes the string representation of the previously mentioned field
and performs case-insensitive comparison to the result of the given AggregationExpression.
Generates a $strcasecmp expression that takes the string representation of the previously mentioned field
and performs case-insensitive comparison to the given value.
Generates a $strcasecmp expression that takes the string representation of the previously mentioned field
and performs case-insensitive comparison to the referenced fieldRef.
Generates a $substr expression that Takes the string representation of the previously mentioned field and
returns a substring starting at a specified index position.
Generates a $substr expression that takes the string representation of the previously mentioned field and
returns a substring starting at a specified index position including the specified number of characters.
Generates a $setUnion expression that takes array of the previously mentioned field and one or more
arrays and returns an array that contains the elements that appear in any of those.
Projects the result of the previous operation onto the current field. Will automatically add an exclusion for
_id as what would be held in it by default will now go into the field just projected into.
Generates a $slice expression that returns a subset of the array held by the given field.
If n is positive, $slice returns up to the first n elements in the array.
If n is negative, $slice returns up to the last n elements in the array.
Generates a $setEquals expression that compares the previously mentioned field to one or more arrays and
returns true if they have the same distinct elements and false otherwise.
Generates a $setIntersection expression that takes array of the previously mentioned field and one or
more arrays and returns an array that contains the elements that appear in every of those.
Generates a $setUnion expression that takes array of the previously mentioned field and one or more
arrays and returns an array that contains the elements that appear in any of those.
Generates a $setDifference expression that takes array of the previously mentioned field and returns an
array containing the elements that do not exist in the given array.
Generates an $anyElementTrue expression that Takes array of the previously mentioned field and returns
true if any of the elements are true and false otherwise.
Generates a $ceil expression that takes the number of the previously mentioned field and returns the
smallest integer greater than or equal to the specified number.
Generates a $log expression that takes the number of the previously mentioned field and calculates the
log of the associated number in the specified base.
Generates a $log expression that takes the number of the previously mentioned field and calculates the
log of the associated number in the specified base.
Generates a $log expression that takes the number of the previously mentioned field and calculates the
log of the associated number in the specified base.
Generates a $substr expression that Takes the string representation of the previously mentioned field and
returns a substring starting at a specified index position.
Generates a $substr expression that takes the string representation of the previously mentioned field and
returns a substring starting at a specified index position including the specified number of characters.
Generates a $strcasecmp expression that takes the string representation of the previously mentioned field
and performs case-insensitive comparison to the given value.
Generates a $strcasecmp expression that takes the string representation of the previously mentioned field
and performs case-insensitive comparison to the referenced fieldRef.
Generates a $strcasecmp expression that takes the string representation of the previously mentioned field
and performs case-insensitive comparison to the result of the given AggregationExpression.
Generates a $arrayElemAt expression that takes the string representation of the previously mentioned
field and returns the element at the specified array position.
Generates a $concatArrays expression that takes the string representation of the previously mentioned
field and concats it with the arrays from the referenced fields.
Generates a $dateToString expression that takes the date representation of the previously mentioned field
using the server default format. NOTE: Requires MongoDB 4.0 or later.