Google News
logo
MongoDB - Quiz(MCQ)
To iterate the cursor and return more documents, type _________ in the mongo shell.
A)
it
B)
next
C)
cursor
D)
None of the above

Correct Answer :   it


Explanation : The db.collection.find() method returns a cursor. To access the documents, you need to iterate the cursor.

Advertisement