vertx / io.vertx.kotlin.ext.mongo / io.vertx.ext.mongo.MongoClient / dropIndexAwait

dropIndexAwait

suspend fun MongoClient.dropIndexAwait(collection: String, indexName: String): Unit

Drops the index given its name.

Parameters

collection - the collection

indexName - the name of the index to remove

resultHandler - will be called when complete

Return