adplus-dvertising
frame-decoration

Question

db.collection.aggregate() returns a _______ and can return result sets of any size.

a.

replica

b.

cursor

c.

document

d.

$subtract

Posted under MongoDB

Answer: (b).cursor

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. db.collection.aggregate() returns a _______ and can return result sets of any size.

Similar Questions

Discover Related MCQs

Q. The _____ JavaScript engine allows multiple JavaScript operations to execute at the same time.

Q. Point out the correct statement.

Q. If the ______ field for mapReduce has the sharded value, MongoDB shards the output collection using the _id field as the shard key.

Q. In MongoDB __________ mongos retrieves the results from each shard, performs a merge sort to order the results.

Q. Point out the wrong statement.

Q. Which of the following function follows the reduce method and modifies the output?

Q. __________ specifies global variables that are accessible in the map.

Q. MongoDB converts the JavaScript objects emitted by the map function to ________ objects.

Q. You can only use jsMode for result sets with fewer than 500,000 distinct key arguments to the mapper’s _______ function.

Q. Which of the following mode defaults to false?

Q. $dayOfMonth returns the day of the month for a date as a number between ________________

Q. Point out the wrong statement.

Q. __________ returns the day of the year for a date as a number between 1 and 366.

Q. Which of the following returns year for particular date?

Q. Point out the wrong statement.

Q. Which of the following returns the hour for a date as a number between 0 and 23?

Q. __________ returns the date as a formatted string.

Q. _______ result encompasses instances of undefined values or missing fields.

Q. ___________ returns either the non-null result of the first expression.

Q. __________ take as input a single expression, evaluating the expression once for each input document, and maintain their state for the group of documents.