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