Exception if it is attempted to pass in `*`.
Use dropIndexes() to remove all indexes instead.
void dropIndex(string name, DropIndexOptions options = DropIndexOptions.init) @safeDrops a single index from the collection by the index name.
Exception if it is attempted to pass in `*`.
Use dropIndexes() to remove all indexes instead.
void dropIndex(T)(T keys,
IndexOptions indexOptions = IndexOptions.init,
DropIndexOptions options = DropIndexOptions.init) if (!is(Unqual!T == IndexModel)) @safeditto
void dropIndex(const IndexModel keys,
DropIndexOptions options = DropIndexOptions.init) @safeditto