Optional
max: numberOptional
notNull: booleanOptional
defaultValue: anyOptional
primaryKey: booleanOptional
geometryType: GeometryTypeOptional
autoincrement: booleanStatic
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
Get the type name from the data and geometry type
type name
column name
data type
Optional
geometryType: GeometryTypegeometry 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
Optional
defaultValue: DBValueOptional
max: numberOptional
autoincrement: booleanStatic
createCreate a new column with a specified column index
Optional
defaultValue: DBValueOptional
max: numberOptional
autoincrement: booleanStatic
createCreate a new column
feature column
table column
Static
createCreate a new geometry column
feature column
column name
Optional
notNull: booleannot null
Optional
defaultValue: DBValuedefault value or nil
Static
createCreate a new geometry column with a specified column index
feature column
column index
column name
Optional
notNull: booleannot null
Optional
defaultValue: DBValuedefault value or nil
Static
createCreate a new primary key column
feature column
column name
column name
Static
createCreate a new primary key column with a specified column index
feature column
column index
column name
column name
Static
getAttempt to get the geometry type of the table column
geometry type
table column
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
Represents a user feature column