Skip to content

//runtime/com.squareup.sqldelight.db/SqlCursor

SqlCursor

[common] 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.

Functions

Name Summary
close [common]
Content
abstract fun close()
More info
Close any resources backed by this object.


getBytes [common]
Content
abstract fun getBytes(index: Int): ByteArray?


getDouble [common]
Content
abstract fun getDouble(index: Int): Double?


getLong [common]
Content
abstract fun getLong(index: Int): Long?


getString [common]
Content
abstract fun getString(index: Int): String?


next [common]
Content
abstract fun next(): Boolean
More info
Move to the next row in the result set.