dropIndexOfKeys

fun <T : Any> MongoCollection<T>.dropIndexOfKeys(json: String)

Drops the index given the keys used to create it.

Parameters

json

the keys of the index to remove


fun <T : Any> MongoCollection<T>.dropIndexOfKeys(clientSession: ClientSession, json: String)

Drops the index given the keys used to create it.

Parameters

clientSession

the client session with which to associate this operation

json

the keys of the index to remove