getRangeType

fun getRangeType(elementOid: Int): PgType.Range

Retrieves a range type by the OID of its elements.

Return

the PgType.Range type.

Parameters

elementOid

the OID of the range's subtype elements.

Throws

if the range type is not found.