|
Closeable |
expect interface Closeable
A type that can be closed. |
interface SqlCursor : Closeable
Represents a SQL result set which can be iterated through with next. Initially the cursor will not point to any row, and calling next once will iterate to the first row. |
|
interface SqlDriver : Closeable
Maintains connections to an underlying SQL database and provides APIs for managing transactions and executing SQL statements. |
|
interface SqlPreparedStatement
Represents a SQL statement that has been prepared by a driver to be executed. |
|
use |
expect fun <T : Closeable?, R> T.use(body: (T) -> R): R
Run body on this and call Closeable.close before returning or throwing. |