asIterable

Wrap this ResultSet as Iterable.

This function is useful when we want to iterate a result set by a for-each loop, or process it via extension functions of Kotlin standard lib, such as Iterable.map, Iterable.flatMap, etc.

See also