# ResultApi

interface ResultApi : AutoCloseable

Base class for wrapping data generated by executing a statement that queries the database.

## Functions

close
Link copied to clipboard
abstract fun close()
mapRows
Link copied to clipboard
abstract fun <T> mapRows(block: (row: RowApi) -> T?): Flow<T?>

Returns a Flow containing the results of applying the given transform function block to each original row of data generated by executing a statement.