HTTP API中无法使用addToSet、pull和pullAll吗?
RuntimeError: cannot get property 'addToSet' (at line 1, col 72) hint: [tCBWla08512162]
RuntimeError: cannot get property 'pull' (at line 1, col 72) hint: [tCBWla08512162]
RuntimeError: cannot get property 'pullAll' (at line 1, col 72) hint: [tCBWla08512162]
都是报这个错
请求参数为:{"env":"","query":"db.collection(\"test-20191016\").where({title:\"试试\"}).update({data:{tags:_.addToSet(\"pspspsps\")}})"}
其他的如shift、push、pop之类的都可以用,就是这三个用不了,是还没有开放吗?
小程序云数据库管理后台也不能操作
HTTP中直接使用pull不行,方法可参考我的博客
https://blog.csdn.net/zjgo007/article/details/105277552
谢邀,没用过 HTTP API
使用云函数吧