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

# updateOptionsOf

`fun updateOptionsOf(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

`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