【发布时间】:2017-10-12 11:03:08
【问题描述】:
我只想从集合中选择那些ids 不包含在给定数组中的文档。 Google Firestore 是否可行? The official docs 只说基本查询,如 >、
基本上我需要Parse 的query.whereKey("playerName", notContainedIn: names) 功能
【问题讨论】:
标签: ios swift firebase google-cloud-firestore
我只想从集合中选择那些ids 不包含在给定数组中的文档。 Google Firestore 是否可行? The official docs 只说基本查询,如 >、
基本上我需要Parse 的query.whereKey("playerName", notContainedIn: names) 功能
【问题讨论】:
标签: ios swift firebase google-cloud-firestore
不,目前这是不可能的。 Firestore 不允许 != 查询,只允许相等和范围(正如您在文档链接中提到的那样)。
【讨论】: