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

# replaceDocumentsAwait

`suspend fun MongoClient.replaceDocumentsAwait(collection: String, query: JsonObject, replace: JsonObject): MongoClientUpdateResult`

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

### Parameters

`collection` - the collection

`query` - query used to match the documents

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

Return

MongoClientUpdateResult

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