firebase - Cloud Firestore whereIn 不返回提到的数据文档
问题描述
我正在使用文档中提到的数据库,并在 Flutter 中使用此查询:
collection.where('regions', whereIn: [['west_coast', 'east_coast']]);
文档说:
从示例数据中,只有 DC 文档符合其区域字段 ["east_coast"]
但我的查询没有返回任何内容。其余查询按预期工作,但不是这个。我做错了什么吗?
解决方案
推荐阅读
- asp.net - 如何使用 AutoMapper 从 DTO 映射到 PUT/POST 模型?
- mysql - Laravel 将 aws 主机地址转换为 ip 地址
- reactjs - 我的库 google-maps-react 有错误
- c# - 将数组添加到 SortedDictionary 时出现索引错误
- android - 在 Retrofit 中处理 Json 和 XML 响应 - 使用 addConverterFactory 的 Android
- python - 不确定如何在使用 groupby 后按版本标准化计数
- django - 编写 Django 自定义模型字段
- r - 分组数值
- python - 斐波那契加法器 - 计算斐波那契数列中的数字
- json - Composer 找不到配置文件:C:\composer 要初始化项目,请创建一个 composer.json 文件