1.

Point out the correct statement.(a) Intervening read operations on a document may result in a cursor that returns a document more than once if that document has changed(b) The MongoDB server returns the query results in batches(c) Subsequent batch size is 50 megabytes(d) None of the mentionedThe question was asked in an interview.My enquiry is from Read Operations in chapter MongoDB CRUD Concepts and Operation of MongoDB

Answer»

Right choice is (B) The MongoDB server RETURNS the query RESULTS in batches

The explanation: For most QUERIES, the FIRST batch returns 101 documents or just enough documents to exceed 1 megabyte.



Discussion

No Comment Found

Related InterviewSolutions