Direction: Choose the correct option
Q1.
Which method is used to query documents in a collection?
Direction: Choose the correct option
Q2.
What does `db.users.findOne({name: 'Alice'})` return?
Direction: Choose the correct option
Q3.
What is returned by `db.users.find({age: 25})`?
Direction: Choose the correct option
Q4.
How do you retrieve all documents from a collection?
Direction: Choose the correct option
Q5.
What does the `pretty()` method do in the MongoDB shell?
