Creates the given index.
Creates the given index.
Warning: given the options you choose, and the data to index, it can be a long and blocking operation on the database. You should really consider reading http://www.mongodb.org/display/DOCS/Indexes before doing this, especially in production.
The index to create.
Drops the given index on that collection.
Drops the given index on that collection.
The number of indexes that were dropped.
Drops the given index on that collection.
Drops the given index on that collection.
The number of indexes that were dropped.
Drops all the indexes on that collection.
Creates the given index only if it does not exist on this collection.
Creates the given index only if it does not exist on this collection.
Warning: given the options you choose, and the data to index, it can be a long and blocking operation on the database. You should really consider reading http://www.mongodb.org/display/DOCS/Indexes before doing this, especially in production.
The index to create.
a future containing true if the index was created, false if it already exists.
Returns the list of indexes for the current collection.
Deletes the given index on that collection.
Deletes the given index on that collection.
The deleted index number.
(Since version 0.11.0) Use drop instead
Deletes the given index on that collection.
Deletes the given index on that collection.
The deleted index number.
(Since version 0.11.0) Use drop instead