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

bulkWriteWithOptionsAwait

suspend fun MongoClient.bulkWriteWithOptionsAwait(collection: String, operations: List<BulkOperation>, bulkWriteOptions: BulkWriteOptions): MongoClientBulkWriteResult

Execute a bulk operation with the specified write options. Can insert, update, replace, and/or delete multiple documents with one request.

Parameters

collection - the collection

operations - the operations to execute

bulkWriteOptions - the write options

resultHandler - will be called with a io.vertx.ext.mongo.MongoClientBulkWriteResult when complete

Return