Indexing on MongoDB related Questions and Answers


Question :   If you need to rebuild indexes for a collection you can use the _________ method to rebuild all indexes on a collection in a single operation.
1. db.collection.Index()
2. db.collection.reIndex()
3. db.collection.rebuildIndex()
4. none of the mentioned
Answer :   1 - db.collection.Index()  

* 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