← Back to Stormify Documentation

update

fun <T : Any> update(updatedItem: T): T

Updates an existing entity in the database based on its primary key.


fun <T : Any> update(items: Collection<T>): List<T>

Updates multiple entities in a batch.