1.

________ deconstructs an array field from the input documents to output a document for each element.(a) $unwindelem(b) $unwind(c) $unwin(d) None of the mentionedThe question was posed to me by my college professor while I was bunking the class.This question is from Aggregation Operations in chapter Aggregation Concepts and Aggregation Mechanics of MongoDB

Answer» RIGHT CHOICE is (C) $unwin

Best explanation: Each OUTPUT document replaces the array with an element VALUE.


Discussion

No Comment Found

Related InterviewSolutions