mongo get one by field code example Example: find only one field mongodb db.students.find({}, {roll:1, _id:0})