【发布时间】:2021-09-14 02:55:02
【问题描述】:
我在 Cloud Firestore 中的一个集合有一个 where 数组中的每个项目都包含三个单独的值(请参阅 groupMembership 字段:
我知道我无法编写查询来查找与其中一个数组值匹配的文档。有没有办法编写查询来查找与所有三个项目的特定值匹配的文档?
例如,我想查找所有users,其中groupMembership 数组包含一个等于groupId: X, groupName: Y, membershipStatus: active 的对象
【问题讨论】:
标签: swift firebase google-cloud-firestore