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

removeDocumentsAwait

suspend fun MongoClient.removeDocumentsAwait(collection: String, query: JsonObject): MongoClientDeleteResult

Remove matching documents from a collection and return the handler with MongoClientDeleteResult result

Parameters

collection - the collection

query - query used to match documents

resultHandler - will be called when complete

Return