摘要: //常规查询 db.getCollection('test').find({}).sort({_id:-1}).limit(2) //模糊查询 db.getCollection('test').find({"b":{$regex:''}}) 数组元素查询 db.getCollection('test 阅读全文