Package-level declarations

Types

Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.CLASS])
annotation class DynamicallyMappable(val typeName: String)

Names the dynamic_dto discriminator a class stands for.

Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.CLASS])
annotation class PgCompositeType(val name: String = "", val schema: String = "")

Marks a Kotlin data class as standing for a PostgreSQL COMPOSITE type, for a scanner to find.

Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.CLASS])
annotation class PgEnumType(val name: String = "", val schema: String = "", val pgConvention: CaseConvention = CaseConvention.SNAKE_CASE_UPPER, val kotlinConvention: CaseConvention = CaseConvention.PASCAL_CASE)

Marks a Kotlin enum as standing for a PostgreSQL ENUM type, for a scanner to find.

Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.PROPERTY])
annotation class PgName(val name: String)

Names the composite attribute or map key a property maps to, where the convention does not.