TypeRegistryLoader

internal object TypeRegistryLoader

Utility object responsible for loading PostgreSQL type definitions from the database and populating a TypeRegistry.

Functions

Link copied to clipboard
fun load(typeRegistry: TypeRegistry, queryExecutor: QueryExecutor)

Executes a query against the pg_catalog to fetch all relevant type information (base types, arrays, composites, enums, domains, ranges, etc.) and updates the given TypeRegistry with the constructed PgType instances.