vertx / io.vertx.kotlin.ext.mongo / updateOptionsOf

# updateOptionsOf

`fun updateOptionsOf(arrayFilters: JsonArray? = null, multi: Boolean? = null, returningNewDocument: Boolean? = null, upsert: Boolean? = null, writeOption: WriteOption? = null): UpdateOptions`

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

Options for configuring updates.

### Parameters

`arrayFilters` - Set the arrayFilters option

`multi` - Set whether multi is enabled

`returningNewDocument` - Set whether new document property is enabled. Valid only on findOneAnd* methods.

`upsert` - Set whether upsert is enabled

`writeOption` - Set the write option