来自文档:
您还可以链接多个where()方法以创建更具体的查询(逻辑AND).
我该如何执行OR查询?例:
status为openOR的文档upcomingstatus == openORcreatedAt <= <somedatetime>database firebase google-cloud-platform google-cloud-firestore
我需要一个firebase查询,它等同于SQL中的此查询:
select * from your_table where id in (123, 345, 679)
Run Code Online (Sandbox Code Playgroud)
你会如何在firebase中做这个逻辑?
谢谢,