1.

_____ Writes the resulting documents of the aggregation pipeline to a collection.(a) $out(b) $in(c) $output(d) None of the mentionedI have been asked this question in unit test.I would like to ask this question from Aggregation Operations topic in portion Aggregation Concepts and Aggregation Mechanics of MongoDB

Answer»

Right option is (a) $out

To explain I would SAY: To use the $out STAGE, it MUST be the last stage in the pipeline.



Discussion

No Comment Found

Related InterviewSolutions