getAttributeOid

fun getAttributeOid(index: Int): Int

Returns the PostgreSQL OID of the attribute at index.

Return

The attribute's type OID.

Parameters

index

Zero-based index in declaration order.

Throws

COLUMN_NOT_FOUND if index is outside this composite's attributes.


Returns the PostgreSQL OID of the attribute named name.

Return

The attribute's type OID.

Parameters

name

The attribute name, as declared in the database.

Throws

COLUMN_NOT_FOUND if this composite has no such attribute.