QueryCompositeFilterConstraint class

A QueryCompositeFilterConstraint is used to narrow the set of documents returned by a Firestore query by performing the logical OR or AND of multiple QueryFieldFilterConstraints or QueryCompositeFilterConstraints. QueryCompositeFilterConstraints are created by invoking or() or and() and can then be passed to query() to create a new query instance that also contains the QueryCompositeFilterConstraint.

Signature:

export declare class QueryCompositeFilterConstraint 

Properties

Property Modifiers Type Description
type 'or' | 'and' The type of this query constraint

QueryCompositeFilterConstraint.type

The type of this query constraint

Signature:

readonly type: 'or' | 'and';