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

# findOneAndDeleteWithOptionsAwait

`suspend fun MongoClient.findOneAndDeleteWithOptionsAwait(collection: String, query: JsonObject, findOptions: FindOptions): JsonObject?`

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

### Parameters

`collection` - the collection

`query` - the query used to match the document

`findOptions` - options to configure the find

Return

JsonObject?

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