registerAutoComposite
Registers a composite type mapped reflectively onto the data class T.
Property names are matched to attribute names by converting camelCase to snake_case; PgName overrides that per property.
Parameters
Optional custom type name in the database. If empty, the name is derived from the class name by converting PascalCase to snake_case.
Optional schema where the type is defined. If empty, the type is resolved through the search path.
Type Parameters
The Kotlin data class representing the composite type.
Throws
Registers a composite type mapped reflectively onto the data class kClass.
A type name is registered for one class and a class under one type name; the same class under the same name again changes nothing.
Parameters
The Kotlin data class representing the composite type.
Optional custom type name in the database. If empty, the name is derived from the class name by converting PascalCase to snake_case.
Optional schema where the type is defined. If empty, the type is resolved through the search path.