1.

Point out the wrong statement.(a) Some pipeline stages may generate new documents or filter out documents(b) Pipeline stages do need to produce one output document for every input document(c) Pipeline stages can appear multiple times in the pipeline(d) None of the mentionedThis question was addressed to me by my college director while I was bunking the class.Origin of the question is Aggregation Pipeline in section Aggregation Concepts and Aggregation Mechanics of MongoDB

Answer»

Correct option is (b) PIPELINE stages do need to produce ONE output document for EVERY INPUT document

To EXPLAIN: Pipeline stages do need to produce one output document for every input document.



Discussion

No Comment Found

Related InterviewSolutions