How to perform compound queries with logical OR in Cloud Firestore?

后端 未结 9 1906
没有蜡笔的小新
没有蜡笔的小新 2020-11-22 02:07

From the docs:

You can also chain multiple where() methods to create more specific queries (logical AND).

How can I perform an <

9条回答
  •  刺人心
    刺人心 (楼主)
    2020-11-22 02:31

    For Flutter dart language use this:

    db.collection("projects").where("status", whereIn: ["public", "unlisted", "secret"]);
    

提交回复
热议问题