CreateTableBuilder

class CreateTableBuilder(tablespace: String? = null, columns: MutableList<ColumnDefinition> = mutableListOf(), primaryKey: AddPrimaryKey? = null, selectFrom: SelectQuery? = null, preserveRowsOnCommit: Boolean = true) : TableBuilder<CreateTable.CreateTableBuilder, CreateTable> (source)

Constructors

Link copied to clipboard
constructor(tablespace: String? = null, columns: MutableList<ColumnDefinition> = mutableListOf(), primaryKey: AddPrimaryKey? = null, selectFrom: SelectQuery? = null, preserveRowsOnCommit: Boolean = true)

Properties

Link copied to clipboard
open lateinit override var table: Table

Functions

Link copied to clipboard
open override fun build(): CreateTable
Link copied to clipboard
fun column(name: String, type: ColumnType, block: ColumnDefinition.ColumnDefinitionBuilder.() -> Unit = { }): CreateTable.CreateTableBuilder
Link copied to clipboard
Link copied to clipboard