最佳答案
我已根据 Alex 的建议提交了功能请求。我从 Firebase 支持收到的回复:
Currently, there is no query similar to array-contains available in the Firestore Console. I can file a feature request ticket on your behalf. However, I can't guarantee anything at the moment, so please watch out for any updates on our blog or release notes for now. For the map field, you can try to filter on the console using the format: 'mapFieldName.keyName' in the field text box
因此我们可以通过“mapFieldName.keyName”查询 map 值。我以前不知道这一点。
关于firebase - 在 Firebase 控制台中按数组或映射字段值查询 Firestore 文档,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57636435/