Module ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Assign NameStore ListLoad Str Str Str Assign NameStore ListLoad Str Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore ListLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str If NameLoad body Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Num If NameLoad body Expr Call AttributeLoad NameLoad attr Str AugAssignAdd NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore ListLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str If NameLoad body Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Num If NameLoad body Expr Call AttributeLoad NameLoad attr Str AugAssignAdd NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return BinOpMod Str Call AttributeLoad NameLoad attr Str Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad Str attr Call AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpMod Str TupleLoad Call AttributeLoad NameLoad attr NameLoad NameLoad AugAssignAdd NameStore Call AttributeLoad NameLoad attr NameLoad AugAssignAdd NameStore Call AttributeLoad NameLoad attr NameLoad Return BinOpAdd NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str For NameStore NameLoad body AugAssignAdd NameStore Call AttributeLoad NameLoad attr NameLoad If Call AttributeLoad NameLoad attr Str body AugAssignAdd NameStore BinOpMod Str AttributeLoad NameLoad attr If Call AttributeLoad NameLoad attr Str body AugAssignAdd NameStore BinOpMod Str AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr If UnaryOpNot Call NameLoad NameLoad NameLoad body Assign NameStore ListLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return BinOpMod Str TupleLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return BinOpMod Str NameLoad Return Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Return BinOpMod Str Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Return BinOpMod Str Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad For NameStore AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad Return Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Return BinOpMod Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Return BinOpMod Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return BinOpMod Str TupleLoad NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Str decorator_list FunctionDef arguments args NameParam NameParam defaults body If AttributeLoad NameLoad attr body Return Str Return Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If Call AttributeLoad NameLoad attr Str body Return Str Return Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If CompareIsNot Call AttributeLoad NameLoad attr Str NameLoad body Return BinOpMod Str Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If BoolOpAnd CompareIn AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Return Str Return Str decorator_list decorator_list
N/A grammar SchemaGrammar blueprint Blueprint query.expression QueryExpression support.fluent Fluent SQLiteSchemaGrammar N/A SchemaGrammar N/A N/A _modifiers N/A nullable default increment N/A _serials N/A big_integer integer compile_rename_column N/A N/A self blueprint command connection N/A N/A N/A 
        Compile a rename column command.

        :param blueprint: The blueprint
        :type blueprint: Blueprint

        :param command: The command
        :type command: Fluent

        :param connection: The connection
        :type connection: orator.connections.Connection

        :rtype: list
         N/A sql N/A N/A foreign_keys N/A N/A N/A self _connection select PRAGMA foreign_keys N/A foreign_keys N/A N/A foreign_keys N/A bool N/A foreign_keys N/A 0 N/A foreign_keys N/A N/A N/A N/A sql append PRAGMA foreign_keys = OFF N/A sql N/A N/A N/A super SQLiteSchemaGrammar self compile_rename_column blueprint command connection N/A foreign_keys N/A N/A N/A N/A sql append PRAGMA foreign_keys = ON N/A sql N/A compile_change N/A N/A self blueprint command connection N/A N/A N/A 
        Compile a change column command into a series of SQL statement.

        :param blueprint: The blueprint
        :type blueprint: orator.schema.Blueprint

        :param command: The command
        :type command: Fluent

        :param connection: The connection
        :type connection: orator.connections.Connection

        :rtype: list
         N/A sql N/A N/A foreign_keys N/A N/A N/A self _connection select PRAGMA foreign_keys N/A foreign_keys N/A N/A foreign_keys N/A bool N/A foreign_keys N/A 0 N/A foreign_keys N/A N/A N/A N/A sql append PRAGMA foreign_keys = OFF N/A sql N/A N/A N/A super SQLiteSchemaGrammar self compile_change blueprint command connection N/A foreign_keys N/A N/A N/A N/A sql append PRAGMA foreign_keys = ON N/A sql N/A compile_table_exists N/A N/A self N/A N/A N/A 
        Compile the query to determine if a table exists

        :rtype: str
         N/A SELECT * FROM sqlite_master WHERE type = 'table' AND name = ? N/A compile_column_exists N/A N/A self table N/A N/A N/A 
        Compile the query to determine the list of columns.
         N/A N/A PRAGMA table_info(%s) N/A N/A table replace . __ N/A compile_create N/A N/A self blueprint command _ N/A N/A N/A 
        Compile a create table command.
         N/A columns N/A N/A ,  join N/A N/A self _get_columns blueprint N/A sql N/A CREATE TABLE %s (%s N/A N/A N/A self wrap_table blueprint columns N/A sql N/A N/A self _add_foreign_keys blueprint N/A sql N/A N/A self _add_primary_keys blueprint N/A N/A sql ) N/A _add_foreign_keys N/A N/A self blueprint N/A N/A N/A sql N/A foreigns N/A N/A self _get_commands_by_name blueprint foreign N/A foreign foreigns N/A N/A sql N/A N/A self _get_foreign_key foreign N/A N/A N/A foreign get on_delete N/A N/A sql N/A  ON DELETE %s N/A foreign on_delete N/A N/A N/A foreign get on_update N/A N/A sql N/A  ON UPDATE %s N/A foreign on_delete N/A sql N/A _get_foreign_key N/A N/A self foreign N/A N/A N/A on N/A N/A self wrap_table N/A foreign on N/A columns N/A N/A self columnize N/A foreign columns N/A references N/A foreign references N/A N/A N/A isinstance references list N/A N/A references N/A references N/A on_columns N/A N/A self columnize references N/A N/A , FOREIGN KEY(%s) REFERENCES %s(%s) N/A columns on on_columns N/A _add_primary_keys N/A N/A self blueprint N/A N/A N/A primary N/A N/A self _get_command_by_name blueprint primary N/A primary N/A N/A columns N/A N/A self columnize N/A primary columns N/A N/A , PRIMARY KEY (%s) columns N/A N/A compile_add N/A N/A self blueprint command _ N/A N/A N/A table N/A N/A self wrap_table blueprint N/A columns N/A N/A self prefix_list ADD COLUMN N/A N/A self _get_columns blueprint N/A statements N/A N/A column columns N/A N/A N/A N/A statements append N/A ALTER TABLE %s %s N/A table column N/A statements N/A compile_unique N/A N/A self blueprint command _ N/A N/A N/A columns N/A N/A self columnize N/A command columns N/A table N/A N/A self wrap_table blueprint N/A N/A CREATE UNIQUE INDEX %s ON %s (%s) N/A N/A command index table columns N/A compile_index N/A N/A self blueprint command _ N/A N/A N/A columns N/A N/A self columnize N/A command columns N/A table N/A N/A self wrap_table blueprint N/A N/A CREATE INDEX %s ON %s (%s) N/A N/A command index table columns N/A compile_foreign N/A N/A self blueprint command _ N/A N/A N/A N/A compile_drop N/A N/A self blueprint command _ N/A N/A N/A N/A DROP TABLE %s N/A N/A self wrap_table blueprint N/A compile_drop_if_exists N/A N/A self blueprint command _ N/A N/A N/A N/A DROP TABLE IF EXISTS %s N/A N/A self wrap_table blueprint N/A compile_drop_column N/A N/A self blueprint command connection N/A N/A N/A schema N/A N/A connection get_schema_manager N/A table_diff N/A N/A self _get_table_diff blueprint schema N/A name N/A command columns N/A N/A column N/A N/A connection get_column N/A N/A blueprint get_table name N/A N/A N/A table_diff removed_columns N/A name column N/A N/A N/A N/A N/A schema get_database_platform get_alter_table_sql table_diff N/A compile_drop_unique N/A N/A self blueprint command _ N/A N/A N/A N/A DROP INDEX %s N/A command index N/A compile_drop_index N/A N/A self blueprint command _ N/A N/A N/A N/A DROP INDEX %s N/A command index N/A compile_rename N/A N/A self blueprint command _ N/A N/A N/A from_ N/A N/A self wrap_table blueprint N/A N/A ALTER TABLE %s RENAME TO %s N/A from_ N/A N/A self wrap_table N/A command to N/A _type_char N/A N/A self column N/A N/A N/A VARCHAR N/A _type_string N/A N/A self column N/A N/A N/A VARCHAR N/A _type_text N/A N/A self column N/A N/A N/A TEXT N/A _type_medium_text N/A N/A self column N/A N/A N/A TEXT N/A _type_long_text N/A N/A self column N/A N/A N/A TEXT N/A _type_integer N/A N/A self column N/A N/A N/A INTEGER N/A _type_big_integer N/A N/A self column N/A N/A N/A INTEGER N/A _type_medium_integer N/A N/A self column N/A N/A N/A INTEGER N/A _type_tiny_integer N/A N/A self column N/A N/A N/A TINYINT N/A _type_small_integer N/A N/A self column N/A N/A N/A INTEGER N/A _type_float N/A N/A self column N/A N/A N/A FLOAT N/A _type_double N/A N/A self column N/A N/A N/A FLOAT N/A _type_decimal N/A N/A self column N/A N/A N/A NUMERIC N/A _type_boolean N/A N/A self column N/A N/A N/A TINYINT N/A _type_enum N/A N/A self column N/A N/A N/A VARCHAR N/A _type_json N/A N/A self column N/A N/A N/A TEXT N/A _type_date N/A N/A self column N/A N/A N/A DATE N/A _type_datetime N/A N/A self column N/A N/A N/A DATETIME N/A _type_time N/A N/A self column N/A N/A N/A TIME N/A _type_timestamp N/A N/A self column N/A N/A N/A N/A column use_current N/A N/A DATETIME DEFAULT CURRENT_TIMESTAMP N/A DATETIME N/A _type_binary N/A N/A self column N/A N/A N/A BLOB N/A _modify_nullable N/A N/A self blueprint column N/A N/A N/A N/A N/A column get nullable N/A N/A  NULL N/A  NOT NULL N/A _modify_default N/A N/A self blueprint column N/A N/A N/A N/A N/A N/A column get default None N/A N/A N/A  DEFAULT %s N/A N/A self _get_default_value N/A column default N/A N/A _modify_increment N/A N/A self blueprint column N/A N/A N/A N/A N/A N/A column type N/A self _serials N/A column auto_increment N/A N/A  PRIMARY KEY AUTOINCREMENT N/A N/A N/A