update

@CheckReturnValue
@GenerateBridge
open fun update(query: String, vararg params: Any): Uni<Int>

Update all entities of this type matching the given query, with optional indexed parameters.

Return

the number of entities updated.

Parameters

query

a query string

params

optional sequence of indexed parameters


@CheckReturnValue
@GenerateBridge
open fun update(query: String, params: Map<String, Any>): Uni<Int>

Update all entities of this type matching the given query, with named parameters.

Return

the number of entities updated.

Parameters

query

a query string

params

Map of named parameters


@CheckReturnValue
@GenerateBridge
open fun update(query: String, params: Parameters): Uni<Int>

Update all entities of this type matching the given query, with named parameters.

Return

the number of entities updated.

Parameters

query

a query string

params

Parameters of named parameters