1.

Which of the following stages cannot appear multiple times in a pipeline?(a) $regex(b) $reg(c) $match(d) $outI had been asked this question in an online quiz.My question is taken from Aggregation Mechanics topic in section Aggregation Concepts and Aggregation Mechanics of MongoDB

Answer» RIGHT CHOICE is (c) $match

Easiest explanation: To USE the $out STAGE, it must be the last stage in the pipeline.


Discussion

No Comment Found

Related InterviewSolutions