1.

________ returns true if the input sets have the same distinct elements.(a) $setUnion(b) $setDifference(c) $setEquals(d) None of the mentionedI had been asked this question in semester exam.Origin of the question is Pipeline Optimization topic in section Aggregation Concepts and Aggregation Mechanics of MongoDB

Answer»

The CORRECT answer is (c) $setEquals

Explanation: $setEquals ACCEPTS two or more argument EXPRESSIONS.



Discussion

No Comment Found

Related InterviewSolutions