← Back to Stormify Documentation

refresh

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

Refreshes an entity with fresh data from the database based on its primary key.