# DdlAware

interface DdlAware

Common interface for database objects that can be created, modified and dropped.

#### Inheritors

Column
ForeignKeyConstraint
CheckConstraint
Index
Table

## Properties

ddl
Link copied to clipboard
open val ddl: List<String>

Returns the list of DDL statements that create this DdlAware instance.

## Functions

createStatement
Link copied to clipboard
abstract fun createStatement(): List<String>

Returns the list of DDL statements that create this object.

dropStatement
Link copied to clipboard
abstract fun dropStatement(): List<String>

Returns the list of DDL statements that drops this object.

modifyStatement
Link copied to clipboard
abstract fun modifyStatement(): List<String>

Returns the list of DDL statements that modify this object.