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

# updateCollectionWithOptionsAwait

`suspend fun MongoClient.updateCollectionWithOptionsAwait(collection: String, query: JsonObject, update: JsonObject, options: UpdateOptions): MongoClientUpdateResult?`

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

### Parameters

`collection` - the collection

`query` - query used to match the documents

`update` - used to describe how the documents will be updated

`options` - options to configure the update

Return

MongoClientUpdateResult?

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