使用update+where调用云函数更新数据库数据,出现报错,这个是什么情况?
【报错内容】:
Error: errCode: -1 unknown error | errMsg: parameter should be object instead of undefined;
at Object.assertType (D:\wechat\note\cloudfunctions\updateUser\node_modules\wx-server-sdk\index.js:7648:15)
at D:\wechat\note\cloudfunctions\updateUser\node_modules\wx-server-sdk\index.js:1493:26
at new Promise ()
at Query.update (D:\wechat\note\cloudfunctions\updateUser\node_modules\wx-server-sdk\index.js:1491:16)
at u.exports.main [as handler] (D:\wechat\note\cloudfunctions\updateUser\index.js:17:8)
at D:\Program Files\Tencent\微信web开发者工具\code\package.nw\js\common\cloud-functions-debugger-server\worker\node.js:1:37172
at processTicksAndRejections (internal/process/task_queues.js:85:5)
【调用云数据库】:
【结果】: