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

# updateCollectionAwait

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

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

### Parameters

`collection` - the collection

`query` - query used to match the documents

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

Return

MongoClientUpdateResult?

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