摘要: $ne null 会把空列表也算入,即使不存在。 $exists 的识别效果就比较好 1.插入样例数据 db.nullexistsdemo.insertMany( [{ "name" : "wqbin", "desc" : [ ] } ,{ "name" : "wang", "desc" : { } 阅读全文
posted @ 2019-11-14 21:51 wqbin 阅读(1794) 评论(0) 推荐(0)