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

# replaceDocumentsWithOptionsAwait

`suspend fun MongoClient.replaceDocumentsWithOptionsAwait(collection: String, query: JsonObject, replace: JsonObject, options: UpdateOptions): MongoClientUpdateResult`

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

### Parameters

`collection` - the collection

`query` - query used to match the documents

`replace` - all matching documents will be replaced with this

`options` - options to configure the replace

Return

MongoClientUpdateResult

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