getLongOrNull

inline fun Cursor.getLongOrNull(index: Int): Long?(source)

Returns the value of the requested column as a nullable long.

The result and whether this method throws an exception when the column type is not an integral type is implementation-defined.

See also