kmongo / org.litote.kmongo / com.mongodb.client.MongoCollection / dropIndexOfKeys

dropIndexOfKeys

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

Drops the index given the keys used to create it.

Parameters

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.

Parameters

clientSession - the client session with which to associate this operation

json - the keys of the index to remove