getColumnType

abstract fun getColumnType(@IntRange(from = 0) index: Int): Int

Returns the data type of the column at the specified zero-based index as androidx.sqlite.DataType.

Return

The data type of the column an Int defined in androidx.sqlite.DataType.

Parameters

index

The zero-based index of the column.

See also

Throws

if the column index is out of bounds.