robbiblubber.org
help
|
login
|
search
:
>>
read
source
history
dropAllIndexes()
MongoDB Driver Function Reference
Drops all indexes on the collection.
<collection>.dropAllIndexes()
Arguments
<collection>
The target collection.
Example
db.employees.dropAllIndexes();
Drops all indexes on the
employees
collection.
home
|
MongoDB Driver Function Reference
|
MongoDB Driver