getCodecByOid

fun <T : Any> getCodecByOid(oid: Int): TypeCodec<T>?

Retrieves a TypeCodec suitable for the given PostgreSQL OID.

Return

the corresponding TypeCodec or null if no codec is registered for this OID.

Parameters

oid

the Object Identifier of the PostgreSQL type.