Skip to content

DbTableDefinition

interface DbTableDefinition
Example
fun describeTable(table: DbTableDefinition) {
if (!table.asset.present) return Logger.warn("db table ${table.name} is not in this build")
Logger.info("db table ${table.name} has id ${table.id}")
}
val name: String
val id: Int
val asset: Asset