TypeManager
Manages the registration and resolution of PostgreSQL types, codecs, and converters.
This class provides a high-level API over TypeRegistry, making it easier to register custom mappings between Kotlin types and PostgreSQL database types.
Constructors
Properties
The dictionary maintaining TypeCodec implementations.
Factory for creating container types (like composites).
The registry handling the conversion of parameters and results.
The dictionary mapping PostgreSQL type names to their OIDs and vice versa.
Functions
Registers a custom TypeCodec for encoding and decoding database types at the lowest level.
Registers an enum type, creating both parameter and result converters.
Registers a custom ParameterConverter for mapping Kotlin types to PostgreSQL database types.
Registers a custom ResultConverter for mapping PostgreSQL database types to Kotlin types.
Resolves an OID for a given type name, considering the current search path.