Firestore where clause doesn't make the condition.

前端 未结 2 1376
醉酒成梦
醉酒成梦 2021-01-24 00:30

in my function I have two where clauses. what I want is to check whether a document exits, where two ids are found. but when I run it, it returns all the records of collection.

2条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-24 01:10

    try making an index at firebase for your query since without the index it will fail to bring out your result. You can get the link to make the index at the console in an error so check your console

提交回复
热议问题