suspend fun MongoClient.updateCollectionWithOptionsAwait(collection: String, query: JsonObject, update: JsonObject, options: UpdateOptions): MongoClientUpdateResult
Update matching documents in the specified collection, specifying options and return the handler with MongoClientUpdateResult result
query
- query used to match the documents
update
- used to describe how the documents will be updated
options
- options to configure the update
resultHandler
- will be called when complete
Return