registerCompositeMapper
abstract fun registerCompositeMapper(name: String, schema: String = "", mapper: PgCompositeMapper<*>): QueryOptionsBuilder
Registers a custom PgCompositeMapper for a specific PostgreSQL composite type. Useful when you want to map a composite type to a class differently than the default or bypass reflection for a specific query.
Parameters
name
Name of the composite type.
schema
Schema of the composite type (defaults to empty, meaning search_path will be used).
mapper
The mapper instance to use.