class slanRecord::TableDefBuilder

sys::Obj
  slanRecord::TableDefBuilder

@Js

add

This add(FieldDef f)

addColumn

This addColumn(Str name, Type type, Bool indexed := false, Str? sqlType := null, Int? length := null, Int? precision := null)

autoGenerateId

Bool autoGenerateId := false

build

TableDef build()

columns

List<FieldDef> columns := FieldDef[,]

idIndex

Int idIndex := -1

make

new make(Str name, Type type := slanRecord::ArrayRecord#)

name

Str name

type

Type type