mirror of
https://github.com/zhigang1992/react-native-firebase.git
synced 2026-04-07 22:41:04 +08:00
740 B
740 B
title, description
| title | description |
|---|---|
| Query limitations | Cursor snapshot queries have limitations. |
Cloud Firestore does not support the following types of queries:
- Queries with range filters on different fields, as described in the previous section.
- Logical
ORqueries. In this case, you should create a separate query for each OR condition and merge the query results in your app. - Queries with a
!=clause. In this case, you should split the query into a greater-than query and a less-than query. For example, although the query clausewhere("age", "!=", "30")is not supported, you can get the same result set by combining two queries, one with the clausewhere("age", "<", "30")and one with the clausewhere("age", ">", 30).