Command.exists指令文档解释是否有误?应为判断是否存在属性值

发布于 6 年前作者 kgong3650 次浏览最后编辑 6 年前来自 issues

https://developers.weixin.qq.com/miniprogram/dev/wxcloud/reference-sdk-api/database/command/Command.exists.html

Command.exists

此指令的文档错误

当前指令的作用是判断是否存在某属性值,返回符合条件的元素.

当前文档的内容为:数组更新指令。原子操作。给定元素,除非数组中已存在该元素,否则添加进数组。

1 回复
idu
idu1 楼4 年前

哈哈~解释确实不对