fun <T> MongoCollection<T>.dropIndex(keys: String): Unit
(source)
Drops the index given the keys used to create it.
keys
- the keys of the index to remove
fun <T> MongoCollection<T>.dropIndex(clientSession: ClientSession, keys: String): Unit
(source)
Drops the index given the keys used to create it.
clientSession
- the client session with which to associate this operation