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

SqlCursor

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

getBytes

abstract fun getBytes(index: Int): ByteArray?

getDouble

abstract fun getDouble(index: Int): Double?

getLong

abstract fun getLong(index: Int): Long?

getString

abstract fun getString(index: Int): String?

next

abstract fun next(): Boolean

Move to the next row in the result set.

Inherited Functions

close
(js, native)

abstract fun close(): Unit

Close any resources backed by this object.