Indexing on MongoDB related Questions and Answers


Question :   In the mongo shell, you can use the ______ method to return a list of the indexes on a collection.
1. getallIndexes()
2. getretIndexes()
3. getIndexes()
4. none of the mentioned
Answer :   3 - getIndexes()  

* Be the First to Post a Comment.

Submit comment :


Captcha Image
Reload

Ask Question

Captcha Image
Reload

Note : Name and Email never shown.





Subscribe


Become a part of EducationForever. Subscribe to our FREE Newsletter