Methods
dropIndex()
The dropIndex() method is used to interact with collections in MongoDB.
dropIndex()
The dropIndex() method is used to interact with collections in MongoDB.
Syntax
db.collection.dropIndex(...)
Example
db.users.dropIndex(...)The dropIndex() method is used to interact with collections in MongoDB.
The dropIndex() method is used to interact with collections in MongoDB.
db.collection.dropIndex(...)
db.users.dropIndex(...)