DatabaseNamingStrategy

Naming strategy for database tables and columns.

Functions

Link copied to clipboard
abstract fun getColumnName(c: KSClassDeclaration, prop: KSPropertyDeclaration): String

Generate the column name.

Link copied to clipboard
abstract fun getRefColumnName(c: KSClassDeclaration, prop: KSPropertyDeclaration, ref: TableMetadata): String

Generate the reference column name.

Link copied to clipboard
abstract fun getTableName(c: KSClassDeclaration): String

Generate the table name.