vertx / io.vertx.kotlin.ext.mongo / bulkOperationOf


fun bulkOperationOf(document: JsonObject? = null, filter: JsonObject? = null, multi: Boolean? = null, type: BulkOperationType? = null, upsert: Boolean? = null): BulkOperation

A function providing a DSL for building io.vertx.ext.mongo.BulkOperation objects.

Contains all data needed for one operation of a bulk write operation.


document - Sets the document, used by insert, replace, and update operations

filter - Sets the filter document, used by replace, update, and delete operations

multi - Sets the multi flag, used by update and delete operations

type - Sets the operation type

upsert - Sets the upsert flag, used by update and replace operations