1.

The mongo shell and the drivers provide several cursor methods that call on the cursor returned by the _______ method to modify its behavior.(a) cursor()(b) find()(c) findc()(d) none of the mentionedThis question was addressed to me during a job interview.Origin of the question is Getting Started with MongoDB in portion MongoDB CRUD Concepts and Operation of MongoDB

Answer»

Right choice is (b) FIND()

Best EXPLANATION: The method iterates completely the cursor, LOADING all the documents.



Discussion

No Comment Found

Related InterviewSolutions