mgDropIndexes

The dropIndexes command drops one or more indexes (except the index on the _id field) from the specified collection.

  1. Bson mgDropIndexes(MongoDatabase db, string collection, string index)
    @safe
    Bson
    mgDropIndexes
    (
    MongoDatabase db
    ,
    string collection
    ,
    string index = "*"
    )
  2. Bson mgDropIndexes(MongoDatabase db, string collection, string[] indexes)

Meta