Command.exists指令文档解释是否有误?应为判断是否存在属性值
发布于 5 年前 作者 kgong 3471 次浏览 来自 官方Issues

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

Command.exists

此指令的文档错误

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

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

1 回复

哈哈~解释确实不对

回到顶部