1.

_________ can return the results of a map-reduce operation as a document, or may write the results to collections.(a) mapReduce(b) mapperRed(c) RedMap(d) none of the mentionedThe question was asked in an online interview.I would like to ask this question from Map-Reduce in portion Aggregation Concepts and Aggregation Mechanics of MongoDB

Answer»

The correct OPTION is (a) mapReduce

The best explanation: Map-reduce OPERATIONS take the documents of a single collection as the input and can PERFORM any arbitrary sorting and LIMITING before beginning the map stage.



Discussion

No Comment Found

Related InterviewSolutions