Sail E0 Webinar
Question
______ can be used to iterate the cursor of document results returned by db.collection.find().
Options:
A .  it
B .  next
C .  cur
D .  None of the mentioned
Answer: Option A


The mongo shell iterates the returned cursor automatically to print the results.



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers