我想查询一个基于子串匹配的cloudfirestore数据库。关于documentation,可以用array_contains
运算符来完成。在
> The where() method takes three parameters: a field to filter on, a
> comparison operation, and a value. The comparison can be <, <=, ==, >,
> >=, or array_contains
但是,当我尝试使用它时,我得到了以下错误:
^{2}$在这一点上,我不知道操作符的格式应该不同,文档已经过时或者我只是做错了。如果有人能告诉我正确的解决方法,我将不胜感激。在
经过一段时间的挖掘,我在Python选项卡下找到了“Not supported yet”(尚不支持),用于数组_contains示例。在
Python array_contains firestore docs
相关问题 更多 >
编程相关推荐