updateEntity

fun <E : Entity<E>> Table<E>.updateEntity(entity: E): Int(source)

Deprecated

ktorm-global will be removed in the future, please migrate to the standard API.

Update properties of the given entity to the database and return the affected record number.

Note that after calling this function, the entity will be ATTACHED to the current database.

Since

3.1.0

See also