Google News
logo
MongoDB - Quiz(MCQ)
To force MongoDB to use a particular index for a db.collection.________ operation, specify the index with the hint() method.
A)
find()
B)
index()
C)
query()
D)
All of the above

Correct Answer :   find()


Explanation : Append the hint() method to the find() method.

Advertisement