Constructor
table name
list of columns
Optional
idColumnName: stringid column name
Constructor
user custom table
Columns
Constraints
Foreign key to Contents
Static
Readonly
COLUMN_Static
DEFAULT_Default id autoincrement setting
Static
DEFAULT_Default primary key not null setting
Static
Readonly
RELATION_Get the table type
Add a new column
new column
Add constraint
constraint
Add constraints
constraints
Add constraints
constraints
Alter a column
altered column
Clear the constraints
cleared constraints
Clear the constraints of the provided type
cleared constraints
constraint type
Get the columns with the provided data type
columns
data type
Copy the UserCustomTable
Create user columns
Create user columns for a subset of table columns
user columns
column names
Drop a column
column to drop
Get the column of the column name
column
column name
Get the column at the index
column
column index
Get the list of columns
columns
Get the columns from the column names
columns
column names
Get the constraints
constraints
Get the constraints of the provided type
constraints
constraint type
Protected
getGet the primary key column
primary key column
Get user columns
Check if has constraints of the provided type
true if has constraints
constraint type
Rename a column
column
new column name
Protected
validateStatic
createCreate a simple attributes table with the columns
name of the table
Optional
additionalColumns: UserColumn[]additional columns
Static
createCreate the primary key id column
name of the id column
Optional
autoincrement: booleanStatic
createCreate the primary key id column with a specified column index
index of the column
name of the id column
Optional
autoincrement: booleanStatic
createCreate the required columns
Optional
idColumnName: string = SimpleAttributesTable.COLUMN_IDid column name
Optional
autoincrement: booleanStatic
createCreate the required columns with a specified starting column index
Optional
startingIndex: number = 0starting index of the required columns
Optional
idColumnName: string = SimpleAttributesTable.COLUMN_IDid column name
Optional
autoincrement: booleanStatic
createCreate a simple attributes table with the metadata
simple attributes table
simple attributes table metadata
Static
isDetermine if the column is a simple column
column to check
Static
isDetermine if the data type is a simple type: TEXT, INTEGER, or REAL
Static
numStatic
requiredGenerated using TypeDoc
Simple Attributes Requirements Class User-Defined Related Data Table