select query criteria, column projection, $gt > db.mydb.find({age:{$gt:12}},{'name':1}).sort({age:2}).limit(1); // 검색조건에 age 의 값이 12보다 큰값 { "_id" : ObjectId("5327b47c45fb223e46f90dc1"), "name" : "tester" } > db.mydb.find({age:{$gt:12}},{'name':1}); { "_id" : ObjectId("5327b47c45fb223e46f90dc1"), "name" : "tester" } { "_id" : ObjectId("5327b48945fb223e46f90dc2"), "name" : "admin" } > db.mydb.find..