USA"} )
db.persons.find({$and:[{age:{$eq:25}},{country:{$eq:"USA"}}]}) //也可以使用$and运算符
//嵌套文档匹配...db.persons.find({"score.c":{$eq:89}}) //可以使用基于.成员的方式进行匹配
db.persons.find({"score.c":89}) //等价的查询方式...$in: [ 25, 27 ] } } ) //多值匹配
db.persons.find( { books: { $in: [ /^JA/, /^PH/ ] } } ) //正则表达式匹配,查询以...email:"jerry.liu@qq.com",
score:{c:75,m:63,e:97},
country:"USA",
books:["JS","JAVA","C#...,
email:"lisi@qq.com",
score:{c:53,m:96,e:83},
country:"China",
books:["JS","C#","PHP