1.

MongoDB can use the _________ of indexes to fulfill queries.(a) union(b) intersection(c) projection(d) none of the mentionedI got this question by my school principal while I was bunking the class.My question is taken from Index Types in chapter Index/Indexing Concepts of MongoDB

Answer»

Correct answer is (B) intersection

To explain I would say: The $PROJECT takes a document that can specify the INCLUSION of fields, the suppression of the _id field, the addition of new fields, and the resetting the values of existing fields.



Discussion

No Comment Found

Related InterviewSolutions