Explanation:The MongoDB aggregation pipeline consists of stages. 3. ________ calculates aggregate values for the data in a collection.
A. db.collection.aggregate
B. db.collection.agg
C. db.collection.pipeline
D. All of the mentioned
Answer:A
Explanation:The MongoDB aggregation pipeline consists of stages. 3. ________ calculates aggregate values for the data in a collection.
A. db.collection.aggregate B. db.collection.agg C. db.collection.pipeline D. All of the mentioned
Explanation:In the mongo shell, if the cursor returned from the db.collection.aggregate() is not assigned to a variable using the var keyword, then the mongo shell automatically iterates the cursor up to 20 times. 4. Cursors returned from aggregation only supports cursor methods like :