updateOne

fun updateOne(entity: T)

Updates a record in the database.

Parameters

entity

The object to be updated.

Throws

if the class is not annotated with @Table.

if there is an error executing the query.