Filters
Functions
Creates a filter that matches all documents where the value of a property is an array that contains all the specified values.
Creates a filter that performs a logical AND of the provided list of filters. Note that this will only generate an "$and" operator if absolutely necessary, as the query language implicitly ands together all the keys. In other words, a query expression like: ``and(eq("x", 1), lt("y", 3))``
Creates a filter that matches all documents where all of the bit positions are clear in the property.
Creates a filter that matches all documents where all of the bit positions are set in the property.
Creates a filter that matches all documents where any of the bit positions are clear in the property.
Creates a filter that matches all documents where any of the bit positions are set in the property.
Creates a filter that matches all documents that contain the given property.
Creates a filter that matches all documents that either contain or do not contain the given property, depending on the value of the exists parameter.
Creates a filter that matches all documents that contain the given property.
Creates a filter that matches all documents that either contain or do not contain the given property, depending on the value of the exists parameter.
Creates a filter that matches all documents containing a property with geospatial data that intersects with the specified shape.
Creates a filter that matches all documents containing a property with geospatial data that intersects with the specified shape.
Creates a filter that matches all documents containing a property with geospatial data that exists entirely within the specified shape.
Creates a filter that matches all documents containing a property with geospatial data (GeoJSON or legacy coordinate pairs) that exist entirely within the specified circle, using spherical geometry. If using longitude and latitude, specify longitude first.
Creates a filter that matches all documents containing a property with geospatial data (GeoJSON or legacy coordinate pairs) that exist entirely within the specified circle, using spherical geometry. If using longitude and latitude, specify longitude first.
Creates a filter that matches all documents that validate against the given JSON schema document.
Creates a filter that matches all documents containing a property with geospatial data that is near the specified GeoJSON point.
Creates a filter that matches all documents containing a property with geospatial data that is near the specified point.
Creates a filter that matches all documents containing a property with geospatial data that is near the specified GeoJSON point.
Creates a filter that matches all documents containing a property with geospatial data that is near the specified point.
Creates a filter that matches all documents containing a property with geospatial data that is near the specified GeoJSON point using spherical geometry.
Creates a filter that matches all documents containing a property with geospatial data that is near the specified point using spherical geometry.
Creates a filter that matches all documents containing a property with geospatial data that is near the specified GeoJSON point using spherical geometry.
Creates a filter that matches all documents containing a property with geospatial data that is near the specified point using spherical geometry.
Creates a filter that matches all documents where the value of the property matches the given regular expression pattern.
Creates a filter that matches all documents where the value of the option matches the given regular expression pattern with the given options applied.
Creates a filter that matches all documents where the value of the property matches the given regular expression pattern.
Creates a filter that matches all documents where the value of the option matches the given regular expression pattern with the given options applied.