You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Relaxing in restrictions.
* Additional testing.
* Relaxing query restrictions.
* Code cleanup.
* Removing compat tests that perform validation on the old query restrictions.
* Making OR Queries public.
* Enabling tests for or queries and configuring tests that require composite indexes to only run against the emulator.
* Create sweet-rats-compete.md
* Fixing documentation errors revealed by the doc change check.
* Removing and renaming tests based on PR feedback.
* Correcting the change type in the changeset file.
* Disable tests that have multiple ins or array-contains-any per query.
This is generated by the JS SDK team, and any local changes will be
8
+
overwritten. Changes should be made in the source code at
9
+
https://github.com/firebase/firebase-js-sdk
10
+
{% endcomment %}
11
+
12
+
# QueryCompositeFilterConstraint class
13
+
A `QueryCompositeFilterConstraint` is used to narrow the set of documents returned by a Firestore query by performing the logical OR or AND of multiple [QueryFieldFilterConstraint](./firestore_.queryfieldfilterconstraint.md#queryfieldfilterconstraint_class)<!---->s or [QueryCompositeFilterConstraint](./firestore_.querycompositefilterconstraint.md#querycompositefilterconstraint_class)<!---->s. `QueryCompositeFilterConstraint`<!---->s are created by invoking [or()](./firestore_.md#or) or [and()](./firestore_.md#and) and can then be passed to [query()](./firestore_.md#query) to create a new query instance that also contains the `QueryCompositeFilterConstraint`<!---->.
A `QueryConstraint` is used to narrow the set of documents returned by a Firestore query. `QueryConstraint`<!---->s are created by invoking [where()](./firestore_.md#where)<!---->, [orderBy()](./firestore_.md#orderby)<!---->, , , , , [limit()](./firestore_.md#limit)<!---->, [limitToLast()](./firestore_.md#limittolast) and can then be passed to [query()](./firestore_.md#query) to create a new query instance that also contains this `QueryConstraint`<!---->.
13
+
A `QueryConstraint` is used to narrow the set of documents returned by a Firestore query. `QueryConstraint`<!---->s are created by invoking [where()](./firestore_.md#where)<!---->, [orderBy()](./firestore_.md#orderby)<!---->, [startAt()](./firestore_.md#startat)<!---->, [startAfter()](./firestore_.md#startafter)<!---->, [endBefore()](./firestore_.md#endbefore)<!---->, [endAt()](./firestore_.md#endat)<!---->, [limit()](./firestore_.md#limit)<!---->, [limitToLast()](./firestore_.md#limittolast) and can then be passed to [query()](./firestore_.md#query) to create a new query instance that also contains this `QueryConstraint`<!---->.
0 commit comments