wrapRow

fun wrapRow(row: ResultRow): T

Wraps the specified ResultRow data into an Entity instance.


fun wrapRow(row: ResultRow, alias: Alias<IdTable<*>>): T

Wraps the specified ResultRow data into an Entity instance.

The provided alias will be used to adjust the ResultRow mapping before returning the entity.

Samples

org.jetbrains.exposed.sql.tests.shared.AliasesTests.testWrapRowWithAliasedTable
fun wrapRow(row: ResultRow, alias: QueryAlias): T

Wraps the specified ResultRow data into an Entity instance.

The provided alias will be used to adjust the ResultRow mapping before returning the entity.

Samples

org.jetbrains.exposed.sql.tests.shared.AliasesTests.testWrapRowWithAliasedQuery