Static
addAdd a column
connection
table name
column name
column definition
Static
addStatic
alterAlter a column
connection
table name
column
Static
alterAlter a column
connection
table
column
Static
alterAlter columns
connection
table name
columns
Static
alterAlter columns
connection
table
columns
Static
alterAlter a table with a new table schema assuming a default table mapping. This removes views on the table, creates a new table, transfers the old table data to the new, drops the old table, and renames the new table to the old. Indexes, triggers, and views that reference deleted columns are not recreated. An attempt is made to recreate the others including any modifications for renamed columns.
Making Other Kinds Of Table Schema Changes: https://www.sqlite.org/lang_altertable.html
connection
new table schema
Static
alterStatic
alterAlter a table with a new table SQL creation statement and table mapping.
Altering a table: Removes views on the table, creates a new table, transfers the old table data to the new, drops the old table, and renames the new table to the old. Indexes, triggers, and views that reference deleted columns are not recreated. An attempt is made to recreate the others including any modifications for renamed columns.
Creating a new table: Creates a new table and transfers the table data to the new. Triggers are not created on the new table. Indexes and views that reference deleted columns are not recreated. An attempt is made to create the others on the new table.
Making Other Kinds Of Table Schema Changes: https://www.sqlite.org/lang_altertable.html
connection
new table SQL
table mapping
Static
alterAlter a table with a new table schema and table mapping.
Altering a table: Removes views on the table, creates a new table, transfers the old table data to the new, drops the old table, and renames the new table to the old. Indexes, triggers, and views that reference deleted columns are not recreated. An attempt is made to recreate the others including any modifications for renamed columns.
Creating a new table: Creates a new table and transfers the table data to the new. Triggers are not created on the new table. Indexes and views that reference deleted columns are not recreated. An attempt is made to create the others on the new table.
Making Other Kinds Of Table Schema Changes: https://www.sqlite.org/lang_altertable.html
connection
new table schema
table mapping
Static
copyCopy the table
connection
table
new table name
transfer row content to the new table
Static
copyCopy the table
connection
table name
new table name
transfer row content to the new table
Static
dropDrop a column
connection
table name
column name
Static
dropDrop a column
connection
table
column name
Static
dropDrop columns
connection
table name
column names
Static
dropDrop columns
connection
table
column names
Static
foreignPerform a foreign key check for violations
connection
Static
renameRename a column
connection
table name
column name
new column name
Static
renameStatic
renameRename a table
connection
table name
new table name
Static
renameGenerated using TypeDoc
Builds and performs alter table statements