wrapRow

fun wrapRow(row: ResultRow): T

Wraps the specified ResultRow data into an Entity instance.

When an entity is already cached, the method performs a selective merge: values for columns present in row are used to refresh the entity, while columns absent from row (e.g. a partial SELECT) retain their previously cached values.


fun wrapRow(row: ResultRow, alias: Alias<IdTable<*>>): T
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.