代码是:
db.collection('fruit').doc('46(数据缩减了,是_id)').remove({
success: function(res) {
console.log(res.data)
}
})
报错为:
Error: errCode: -1 | errMsg: document.remove:fail Error: cannot remove document with _id 46, please make sure that the document exists and you have the corresponding Write permission; at document.remove api;
这个云数据库权限已设置为所有人可改动,求解,另外拜托大家教教用where指定条件删除
你_id 是 “46(数据缩减了,是_id)"?