const virtual class slanRecord::TableDef
sys::Obj slanRecord::TableDef
Schema is a metadata of records
- autoGenerateId
-
const Bool autoGenerateId := false
auto generate the key
- columns
- each
- find
- get
- id
-
FieldDef? id()
PK of this table
- idIndex
-
const Int idIndex := -1
- make
- name
-
const Str name
- newInstance
-
virtual Obj newInstance()
- nonAutoGenerate
-
Void nonAutoGenerate(Func<Void,FieldDef> f)
Each Columns except auto generate field
- nonIdColumn
-
Void nonIdColumn(Func<Void,FieldDef> f)
Each Columns except id
- size
-
Int size()
- toStr
-
virtual override Str toStr()
- type
-
const Type type