Adds a contains all filter to the collection field
The collection must contain all the given values.
The resulting Query
http://docs.mongodb.org/manual/reference/operator/query/all/
The field to filter
Rest
...args: any[]The field value or values to filter
The collection must contains one of the given values
Adds a contains any filter to the collection field. Alias for in.
The resulting Query
The field to filter
Rest
...args: any[]The field value or values to filter
Adds a greater than or equal to filter to the field
Shorthand for greaterThanOrEqualTo.
The resulting Query
http://docs.mongodb.org/manual/reference/operator/query/gte/
The field to filter
The value used to filter
Adds a greater than or equal to filter to the field
The resulting Query
http://docs.mongodb.org/manual/reference/operator/query/gte/
The field to filter
The value used to filter
Adds a “in” filter to the field
The field value must be equal to one of the given values.
The resulting Query
The field to filter
Rest
...args: any[]The field value or values to filter
Adds an “in” filter to the field
The field value must be equal to one of the given values.
The resulting Query
The field to filter
Rest
...args: any[]The field value or values to filter
Adds a less than or equal to filter to the field
Shorthand for lessThanOrEqualTo.
The resulting Query
http://docs.mongodb.org/manual/reference/operator/query/lte/
The field to filter
The value used to filter
Adds a less than or equal to filter to the field
The resulting Query
http://docs.mongodb.org/manual/reference/operator/query/lte/
The field to filter
The value used to filter
Adds a regular expression filter to the field
The field value must matches the regular expression.
Note: Only anchored expressions (Expressions that starts with an ^) and the multiline flag are supported.
The resulting Query
http://docs.mongodb.org/manual/reference/operator/query/regex/
The field to filter
The regular expression of the filter
Adds a modulo filter to the field
The field value divided by divisor must be equal to the remainder.
The resulting Query
http://docs.mongodb.org/manual/reference/operator/query/mod/
The field to filter
The divisor of the modulo filter
The remainder of the modulo filter
Adds a geopoint based near filter to the GeoPoint field
The GeoPoint must be within the maximum distance to the given GeoPoint. Returns from nearest to farthest.
The resulting Query
http://docs.mongodb.org/manual/reference/operator/query/nearSphere/
The field to filter
The GeoPoint to filter
Tha maximum distance to filter in meters
Adds a “not in” filter to the field
The field value must not be equal to any of the given values.
The resulting Query
http://docs.mongodb.org/manual/reference/operator/query/nin/
The field to filter
Rest
...args: any[]The field value or values to filter
Adds a size filter to the collection field
The collection must have exactly size members.
The resulting Query
http://docs.mongodb.org/manual/reference/operator/query/size/
The field to filter
The collections size to filter
Adds a GeoPoint based polygon filter to the GeoPoint field
The GeoPoint must be contained within the given polygon.
The resulting Query
http://docs.mongodb.org/manual/reference/operator/query/geoWithin/
Generated using TypeDoc
The Condition interface defines all existing query filters