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

# findOneAndDeleteAwait

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

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

### Parameters

`collection` - the collection

`query` - the query used to match the document

Return

JsonObject?

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