getLongOrThrow

fun Cursor.getLongOrThrow(columnName: String): Long

Reads a long column by name or throws if the column is missing.

This combines Cursor.getColumnIndexOrThrow and Cursor.getLong so call sites do not manually pass column indexes around.