//jdbc-driver/com.squareup.sqldelight.sqlite.driver/JdbcCursor
JdbcCursor
[jvm] open class JdbcCursor(preparedStatement: PreparedStatement, resultSet: ResultSet, onClose: () -> Unit) : SqlCursor
Iterate each row in resultSet and map the columns to Kotlin classes by calling getString, getLong etc. Use next to retrieve the next row and close to close the connection.
Constructors
JdbcCursor | [jvm] fun JdbcCursor(preparedStatement: PreparedStatement, resultSet: ResultSet, onClose: () -> Unit) |
Functions
Name | Summary |
---|---|
close | [jvm] Content open override fun close() |
getBytes | [jvm] Content open override fun getBytes(index: Int): ByteArray? |
getDouble | [jvm] Content open override fun getDouble(index: Int): Double? |
getLong | [jvm] Content open override fun getLong(index: Int): Long? |
getString | [jvm] Content open override fun getString(index: Int): String? |
next | [jvm] Content open override fun next(): Boolean |