← Back to Stormify Documentation

refresh

fun <T : Any> refresh(entity: T): T

Refreshes entity from the database by its primary key. Used internally by AutoTable.