getLongOrNull

fun Cursor.getLongOrNull(columnName: String): Long?