get specific fields of find in mongodb code example Example: find only one field mongodb db.students.find({}, {roll:1, _id:0})