android - 在 Firestore 中实现 OR 查询
问题描述
query = db.collection("transaction")
.whereEqualTo("product1","A").whereEqualTo("product2","A");
我想获取 product1 或 product2 的值为“A”的数据,但使用上面的代码,我通过查询 AND 获取数据
解决方案
推荐阅读
- python - 如何始终使用“Atom”中的“脚本”运行相同的文件
- html - 在从 html 转换的 pdf 文件中获取意外的空格
- javascript - 我正在尝试将值从 servlet 文件传递到 javascript 文件,但我一直在获取 null 我在哪里做错了?
- c# - Automapper 缺少类型映射配置或不支持的映射?ASP>NET MVC
- audio - 如何在视频文件的音频中修改音乐音高并且仍然听起来自然
- javascript - Linkedin api V2 在节点 JS 中上传视频
- aws-api-gateway - API Gateway 日志:修改日志名称
- excel - Excel VBS 错误:关系“andmebaas”不存在
- android - 从 Chrome 重定向到带有位置标头的 302 后被阻止的 Android 应用
- angular - 如何从中获取纯文本
使用表单控件?我无法得到它。文本保存在 xyz
福尔梅