vertx-kuickstart-core / dev.fuelyour.vertxkuickstartcore.repositories / UpdateQueryImpl

UpdateQueryImpl

class UpdateQueryImpl<T : Any, R : Any> : UpdateQuery<T, R>, Serializer, Deserializer

The default implementation for UpdateQuery. It updates a single row in the table by id.

Constructors

<init>

The default implementation for UpdateQuery. It updates a single row in the table by id.

UpdateQueryImpl(schema: String, table: String, type: FullType<R>, serializer: Serializer, deserializer: Deserializer)

Functions

update

suspend fun update(id: String, toUpdate: T, connection: SqlClient): R