收藏
回答

数据库集合操作update 的api文档缺失参数

https://developers.weixin.qq.com/miniprogram/dev/wxcloudservice/wxcloud/reference-sdk-api/database/Collection.html

Collection.update(): Promise<Object>

集合update操作和remove一样需要where 之后操作

但是update内容应该是需要 可选参数而不是没有参数

Collection.update(options: Object): Promise<Object>


回答关注问题邀请回答
收藏
登录 后发表内容