Protected
constructorConstructor
column index
column name
data type
max value
not null flag
default value
primary key flag
autoincrement flag
Constructor
column index
column name
string type
data type
max value
not null flag
default value
primary key flag
autoincrement flag
Constructor
table column
Constructor
Static
Readonly
AUTOINCREMENT_Autoincrement Constraint Order
Static
Readonly
DEFAULT_Default Value Constraint Order
Static
Readonly
NOT_Not Null Constraint Order
Static
Readonly
NO_User Column index value
Static
Readonly
PRIMARY_Primary Key Constraint Order
Static
Readonly
UNIQUE_Unique Constraint Order
Add a constraint
constraint
Add a constraint
constraint type
constraint
constraint order
Add constraints
constraints
Add constraints
constraints
Add constraints
constraints
Build the SQL for the constraint
SQL or null
constraint
Clear the constraints
cleared constraints
true to reset constraint settings
Clear the constraints of the provided type
cleared constraints
constraint type
Comparison function that sorts user columns by index
Copy the column
copied column
Get the constraints
constraints
Get the constraints of the provided type
constraints
constraint type
Get the data type
data type
Check if has constraints of the provided type
true if has constraints
constraint type
Set the constraint order by constraint type
constraint
Set the data type
data type
Set the column index. Only allowed when #hasIndex() is false ( #getIndex() is #NO_INDEX). Setting a valid index to an existing valid index does nothing.
column index
Static
createCreate a new column
created column
column name
data type
Optional
notNull: boolean = falsenot null
Optional
defaultValue: DBValuedefault value or nil
Optional
max: numbermax value
Optional
autoincrement: booleanautoincrement or nil
Static
createCreate a new column with a specified column index
created column
column index
column name
data type
Optional
notNull: boolean = falsenot null
Optional
defaultValue: DBValuedefault value or nil
Optional
max: numbermax value
Optional
autoincrement: booleanautoincrement or nil
Static
createCreate a new column
user custom column
table column
Static
createCreate a new primary key column
Static
createCreate a new primary key column with a specified column index
Static
Protected
getGet the type name from the data type
type name
column name
data type
Static
Protected
validateValidate the data type
column name
data type
Generated using TypeDoc
Create a new user custom columnd
Param
column index
Param
column name
Param
data type
Param
max value
Param
not null
Param
default value or nil
Param
primary key
Param
autoincrement