PgEnumRegistration

data class PgEnumRegistration(val qualifiedName: QualifiedName, val pgConvention: CaseConvention, val kotlinConvention: CaseConvention)

What an enum was registered as: the type it stands for, and the two conventions that map one side's names onto the other's.

Constructors

Link copied to clipboard
constructor(qualifiedName: QualifiedName, pgConvention: CaseConvention, kotlinConvention: CaseConvention)

Properties

Link copied to clipboard

How the constants are written in Kotlin.

Link copied to clipboard

How the labels are written in PostgreSQL.

Link copied to clipboard

The PostgreSQL enum type this class stands for.