Explanation:As you iterate through the cursor and reach the end of the returned batch, if there are more results, cursor.next() will perform a getmore operation to retrieve the next batch. 6. ______________ specifies the number of documents to return in each batch of the response from the MongoDB instance.
A. cursor.batchSize(size)
B. cursor.Size(size)
C. cursor.batch(size)
D. All of the mentioned
Answer:A
Explanation:As you iterate through the cursor and reach the end of the returned batch, if there are more results, cursor.next() will perform a getmore operation to retrieve the next batch. 6. ______________ specifies the number of documents to return in each batch of the response from the MongoDB instance.
A. cursor.batchSize(size) B. cursor.Size(size) C. cursor.batch(size) D. All of the mentioned
Explanation:Specifying 1 or a negative number is analogous to using the limit() method. 7. The __________ method returns a document that includes a metrics field.