suspend fun MongoClient.replaceDocumentsAwait(collection: String, query: JsonObject, replace: JsonObject): MongoClientUpdateResult
Replace matching documents in the specified collection and return the handler with MongoClientUpdateResult result
query
- query used to match the documents
replace
- all matching documents will be replaced with this
resultHandler
- will be called when complete
Return