api-docs / org.ktorm.dsl / withIndex
withIndex
fun Query.withIndex(): Iterable<IndexedValue<QueryRowSet>>
(source code)Return a lazy Iterable that wraps each row of the query into an IndexedValue containing the index of
that row and the row itself.
Since
3.0.0