![](/img/trans.png)
[英]Android Firestore query get the id of the document that contains the value in the search
[英]Firestore search array contains for multiple values Android
嘗試db.collection("channels").WhereArrayContains("users", listOf("_id1","_id2")).get()
- 您以復數形式引用了 db 集合,並錯過了集合名稱中的結束引號,這可能是它不起作用的原因。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.