← Back to Stormify Documentation

populate

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

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