1,模糊查询
db.Person.find({"nickName":/n/})
{"foodname":{"$regex":",米饭"}}
2,非空查询
db.Person.find({"nickName":{"$not":{"$eq":null}}})
3,某一天的数据(并且审核通过)
db.Person.find({"createtime":{"$gte":ISODate("2019-03-20T16:00:00.000+0000"), "$lte":ISODate("2019-03-21T16:00:00.000+0000")}
,"status":"pass"}).count();
4,or
{"$or" : [{"name":"one"},{&#