fun Cursor.getBlob(columnName: String): ByteArray
Returns the value of the requested column as a byte array. |
|
fun Cursor.getBlobOrNull(index: Int): ByteArray? fun Cursor.getBlobOrNull(columnName: String): ByteArray?
Returns the value of the requested column as a nullable byte array. |
|
fun Cursor.getDouble(columnName: String): Double
Returns the value of the requested column as a double. |
|
fun Cursor.getDoubleOrNull(index: Int): Double? fun Cursor.getDoubleOrNull(columnName: String): Double?
Returns the value of the requested column as a nullable double. |
|
fun Cursor.getFloat(columnName: String): Float
Returns the value of the requested column as a float. |
|
fun Cursor.getFloatOrNull(index: Int): Float? fun Cursor.getFloatOrNull(columnName: String): Float?
Returns the value of the requested column as a nullable float. |
|
fun Cursor.getInt(columnName: String): Int
Returns the value of the requested column as an integer. |
|
fun Cursor.getIntOrNull(index: Int): Int? fun Cursor.getIntOrNull(columnName: String): Int?
Returns the value of the requested column as a nullable integer. |
|
fun Cursor.getLong(columnName: String): Long
Returns the value of the requested column as a long. |
|
fun Cursor.getLongOrNull(index: Int): Long? fun Cursor.getLongOrNull(columnName: String): Long?
Returns the value of the requested column as a nullable long. |
|
fun Cursor.getShort(columnName: String): Short
Returns the value of the requested column as a short. |
|
fun Cursor.getShortOrNull(index: Int): Short? fun Cursor.getShortOrNull(columnName: String): Short?
Returns the value of the requested column as a nullable short. |
|
fun Cursor.getString(columnName: String): String
Returns the value of the requested column as a string. |
|
fun Cursor.getStringOrNull(index: Int): String? fun Cursor.getStringOrNull(columnName: String): String?
Returns the value of the requested column as a nullable string. |