在云开发控制台中运行,返回 RuntimeError: cannot get property 'exists' (at line 3, col 22)
说明:tab数据集的记录中都含有 data 对象。
db.collection('tab')
.where({
data: db.command.exists(true)
})
.field({
data:true,
_openid:true,
_id:true
.get()
相似问题