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

# removeDocumentsAwait

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

Suspending version of method io.vertx.ext.mongo.MongoClient.removeDocuments

### Parameters

`collection` - the collection

`query` - query used to match documents

Return

MongoClientDeleteResult?

NOTE: This function has been automatically generated from io.vertx.ext.mongo.MongoClient using Vert.x codegen.