Explanation: cursor.hasNext() returns true if the cursor returned by the db.collection.find() query can iterate further to return more documents. 5. Point out the wrong statement :
A. Some pipeline stages may generate new documents or filter out documents
B. Pipeline stages do need to produce one output document for every input document
C. Pipeline stages can appear multiple times in the pipeline
D. None of the mentioned
Answer:A
Explanation: cursor.hasNext() returns true if the cursor returned by the db.collection.find() query can iterate further to return more documents. 5. Point out the wrong statement :
A. Some pipeline stages may generate new documents or filter out documents B. Pipeline stages do need to produce one output document for every input document C. Pipeline stages can appear multiple times in the pipeline D. None of the mentioned
Explanation:Pipeline stages do need to produce one output document for every input document. 6. ______ can be used to iterate the cursor of document results returned by db.collection.find().