execute

abstract fun <R> execute(mapper: (SqlCursor) -> QueryResult<R>): QueryResult<R>

Execute the underlying statement. The resulting cursor is passed to the given block.

The cursor is closed automatically after the block returns.