SyntaxFix
Write A Post
Hire A Developer
Questions
db.student.find({}, {"roll":1, "_id":0})
This is equivalent to -
Select roll from student
db.student.find({}, {"roll":1, "name":1, "_id":0})
Select roll, name from student