MongoDB C100DBA Question Answer
Which of the following command is used to get all the indexes on a collection?
db.collection.showIndexes()
db.collection.findlndexes()
db.showIndexes()
db.collection.getlndexesQ
TESTED 20 Oct 2025
Copyright © 2014-2025 ACE4Sure. All Rights Reserved