robbiblubber.org

help | login | search:  
<<

Home Page
Index

Projects

Utility Suite
Data Suite
Bad Wolf Suite
WeakWiki

User Docs

ConfigNotepad
LED
rqoon
Nuub

Code Docs

.NET
Java
PHP

robbiblubber.org

Specs
Articles

Sources















read  source  history 


= dropIndex() =
----
[[MongoDB Driver Function Reference]]


Drops an index on the collection.
More information can be found in the corresponding entry of the [[https://docs.mongodb.com/manual/reference/method/db.collection.dropIndex/index.html|MongoDB Manual]].


[[[@cG

<collection>.dropIndex(<name>)

]]]


**Arguments**

[[[@w

|@t0@r0@c0 <collection> | | The target collection. |
| <name> | | Index name |

]]]


**Example**

[[[@cw

db.employees.dropIndex("salary_ix");

]]]

Drops the //salary_ix// index on the //employees// collection.













----
[[Main|home]] | [[MongoDB Driver Function Reference]] | [[MongoDB Driver]]