Mongo.Ecto.drop_indexes
You're seeing just the function
drop_indexes
, go back to Mongo.Ecto module for more information.
Drops the specified indexes
in the collection coll
.
To drop a single index, pass the name of the index.
To drop multiple indexes at once pass a list of indexes to index
. To drop all indexes except
that of _id
pass "*" to index
.
See https://docs.mongodb.com/manual/reference/command/dropIndexes/#dropindexes