# wrapRows

fun wrapRows(rows: SizedIterable<ResultRow>): SizedIterable<T>

Returns a SizedIterable containing entities generated using data retrieved from a database result set in rows.

fun wrapRows(rows: SizedIterable<ResultRow>, alias: Alias<IdTable<*>>): SizedIterable<T>
fun wrapRows(rows: SizedIterable<ResultRow>, alias: QueryAlias): SizedIterable<T>

Returns a SizedIterable containing entities generated using data retrieved from a database result set in rows.

An alias should be provided to adjust each ResultRow mapping, if necessary, before generating entities.