From https://www.mongodb.com/docs/manual/reference/operator/ (7.0)
Projects the first element in an array that matches the query condition.
Projects the first element in an array that matches the query condition.
Adds elements to an array only if they do not already exist in the set.
Adds elements to an array only if they do not already exist in the set.
Matches arrays that contain all elements specified in the query.
Matches arrays that contain all elements specified in the query.
Joins query clauses with a logical AND returns all documents that match the conditions of both clauses.
Joins query clauses with a logical AND returns all documents that match the conditions of both clauses.
Performs bitwise AND, OR, and XOR updates of integer values.
Performs bitwise AND, OR, and XOR updates of integer values.
Matches numeric or binary values in which a set of bit positions all have a value of 0.
Matches numeric or binary values in which a set of bit positions all have a value of 0.
Matches numeric or binary values in which a set of bit positions all have a value of 1.
Matches numeric or binary values in which a set of bit positions all have a value of 1.
Matches numeric or binary values in which any bit from a set of bit positions has a value of 0.
Matches numeric or binary values in which any bit from a set of bit positions has a value of 0.
Matches numeric or binary values in which any bit from a set of bit positions has a value of 1.
Matches numeric or binary values in which any bit from a set of bit positions has a value of 1.
Adds a comment to a query predicate.
Adds a comment to a query predicate.
Sets the value of a field to current date, either as a Date or a Timestamp.
Sets the value of a field to current date, either as a Date or a Timestamp.
Modifies the $push
and $addToSet
operators to append multiple items for array updates.
Modifies the `$push` and `$addToSet` operators to append multiple items for array updates.
Selects documents if element in the array field matches all the specified $elemMatch
conditions.
Selects documents if element in the array field matches all the specified `$elemMatch` conditions.
Matches values that are equal to a specified value.
Matches values that are equal to a specified value.
Matches documents that have the specified field.
Matches documents that have the specified field.
Allows use of aggregation expressions within the query language.
Allows use of aggregation expressions within the query language.
Selects geometries that intersect with a GeoJSON geometry. The 2dsphere index supports $geoIntersects
.
Selects geometries that intersect with a GeoJSON geometry. The 2dsphere index supports `$geoIntersects`.
Selects geometries within a bounding GeoJSON geometry. The 2dsphere and 2d indexes support $geoWithin
.
Selects geometries within a bounding GeoJSON geometry. The 2dsphere and 2d indexes support `$geoWithin`.
Matches values that are greater than a specified value.
Matches values that are greater than a specified value.
Matches values that are greater than or equal to a specified value.
Matches values that are greater than or equal to a specified value.
Evaluates input expressions for null values
Evaluates input expressions for null values
Matches any of the values specified in an array.
Matches any of the values specified in an array.
Increments the value of the field by the specified amount.
Increments the value of the field by the specified amount.
Validate documents against the given JSON Schema.
Validate documents against the given JSON Schema.
Matches values that are less than a specified value.
Matches values that are less than a specified value.
Matches values that are less than or equal to a specified value.
Matches values that are less than or equal to a specified value.
Filters documents based on a specified query predicate.
Filters documents based on a specified query predicate.
Only updates the field if the specified value is greater than the existing field value.
Only updates the field if the specified value is greater than the existing field value.
Constrains the results of a geospatial $near
or $nearSphere
query to the specified distance.
Constrains the results of a geospatial `$near` or `$nearSphere` query to the specified distance.
Projects the document's score assigned during $text operation.
Projects the document's score assigned during $text operation.
Only updates the field if the specified value is less than the existing field value.
Only updates the field if the specified value is less than the existing field value.
Filters the results of a geospatial $near
or $nearSphere
query to those documents that are at least the specified distance from the center point.
Filters the results of a geospatial `$near` or `$nearSphere` query to those documents that are at least the specified distance from the center point.
Performs a modulo operation on the value of a field and selects documents with a specified result.
Performs a modulo operation on the value of a field and selects documents with a specified result.
Multiplies the value of the field by the specified amount.
Multiplies the value of the field by the specified amount.
Matches all values that are not equal to a specified value.
Matches all values that are not equal to a specified value.
Returns geospatial objects in proximity to a point. Requires a geospatial index. The 2dsphere and 2d indexes support $near
.
Returns geospatial objects in proximity to a point. Requires a geospatial index. The 2dsphere and 2d indexes support `$near`.
Returns geospatial objects in proximity to a point on a sphere. Requires a geospatial index. The 2dsphere and 2d indexes support $nearSphere
.
Returns geospatial objects in proximity to a point on a sphere. Requires a geospatial index. The 2dsphere and 2d indexes support `$nearSphere`.
Matches none of the values specified in an array.
Matches none of the values specified in an array.
Joins query clauses with a logical NOR returns all documents that fail to match both clauses.
Joins query clauses with a logical NOR returns all documents that fail to match both clauses.
Inverts the effect of a query expression and returns documents that do not match the query expression.
Inverts the effect of a query expression and returns documents that do not match the query expression.
Converts a document to an array.
Converts a document to an array.
Joins query clauses with a logical OR returns all documents that match the conditions of either clause.
Joins query clauses with a logical OR returns all documents that match the conditions of either clause.
Removes the first or last item of an array.
Removes the first or last item of an array.
Modifies the $push
operator to specify the position in the array to add elements.
Modifies the `$push` operator to specify the position in the array to add elements.
Passes along the documents with the requested fields to the next stage in the pipeline.
Passes along the documents with the requested fields to the next stage in the pipeline.
Removes all array elements that match a specified query.
Removes all array elements that match a specified query.
Removes all matching values from an array.
Removes all matching values from an array.
Generates a random float between 0 and 1.
Generates a random float between 0 and 1.
Selects documents where values match a specified regular expression.
Selects documents where values match a specified regular expression.
Sets the value of a field in a document.
Sets the value of a field in a document.
Sets the value of a field if an update results in an insert of a document. Has no effect on update operations that modify existing documents.
Sets the value of a field if an update results in an insert of a document. Has no effect on update operations that modify existing documents.
Selects documents if the array field is a specified size.
Selects documents if the array field is a specified size.
Limits the number of elements projected from an array. Supports skip and limit slices.
Limits the number of elements projected from an array. Supports skip and limit slices.
Modifies the $push operator to reorder documents stored in an array.
Modifies the $push operator to reorder documents stored in an array.
Selects documents if a field is of the specified type.
Selects documents if a field is of the specified type.
Removes the specified field from a document.
Removes the specified field from a document.
Matches documents that satisfy a JavaScript expression.
Matches documents that satisfy a JavaScript expression.
(operator? s)
Check if given string matches a known operator.
Check if given string matches a known operator.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close