suspend fun MongoClient.findOneAndUpdateWithOptionsAwait(collection: String, query: JsonObject, update: JsonObject, findOptions: FindOptions, updateOptions: UpdateOptions): JsonObject?
Suspending version of method io.vertx.ext.mongo.MongoClient.findOneAndUpdateWithOptions
query
- the query used to match the document
update
- used to describe how the documents will be updated
findOptions
- options to configure the find
updateOptions
- options to configure the update
Return
NOTE: This function has been automatically generated from io.vertx.ext.mongo.MongoClient using Vert.x codegen.