- Reference >
- mongo Shell Methods >
- Collection Methods >
- db.collection.dropIndexes()
db.collection.dropIndexes()¶
- db.collection.dropIndexes()¶
Drops all indexes other than the required index on the _id field. Only call dropIndexes() as a method on a collection object.
Thank you for your feedback!
We're sorry! You can Report a Problem to help us improve this page.