1.

To force MongoDB to use a particular index for a db.collection.________ operation, specify the index with the hint() method.(a) query()(b) find()(c) index()(d) all of the mentionedI had been asked this question in exam.Question is from Index Management in section Index/Indexing Concepts of MongoDB

Answer» CORRECT CHOICE is (b) find()

EXPLANATION: Append the HINT() method to the find() method.


Discussion

No Comment Found

Related InterviewSolutions