{
"userNo":"0665",
"applyInfo":[{
"applyDate":"2020-02-09 16:45:32",
"applyDone":true,
"applyUserName":"张三",
"applyUserNo":"0026"
},
{
"applyUserName":"李健",
"applyUserNo":"0005",
"applyDate":"",
"applyDone":false
}],
}
查询同时满足applyUserName='张三',并且applyDone=true,应该怎么实现?
使用where({
"applyInfo":{
"applyDone":false,
"applyUserName":"张三",
}})
查询是或的关系。。
https://developers.weixin.qq.com/miniprogram/dev/wxcloud/guide/database/query.html