getColumnIndex

fun getColumnIndex(columnName: String): Int

Resolves an attribute name to its zero-based index.

Return

The zero-based index.

Parameters

columnName

The attribute name, as declared in the database.

Throws

COLUMN_NOT_FOUND if this composite has no such attribute.