class documentation

class DDLCompiler(Compiled):

Known subclasses: sqlalchemy.databases.firebird.FBDDLCompiler, sqlalchemy.databases.mssql.MSDDLCompiler, sqlalchemy.databases.mysql.MySQLDDLCompiler, sqlalchemy.databases.oracle.OracleDDLCompiler, sqlalchemy.databases.postgresql.PGDDLCompiler, sqlalchemy.databases.sqlite.SQLiteDDLCompiler, sqlalchemy.databases.sybase.SybaseDDLCompiler

View In Hierarchy

Undocumented

Method construct​_params Return the bind params for this compiled object.
Method define​_constraint​_remote​_table Format the remote table clause of a CREATE CONSTRAINT clause.
Method ​_prepared​_index​_name Undocumented
Method ​_verify​_index​_table Undocumented
Method create​_table​_constraints Undocumented
Method create​_table​_suffix Undocumented
Method define​_constraint​_cascades Undocumented
Method define​_constraint​_deferrability Undocumented
Method define​_constraint​_match Undocumented
Method get​_column​_default​_string Undocumented
Method get​_column​_specification Undocumented
Method get​_identity​_options Undocumented
Method post​_create​_table Undocumented
Method visit​_add​_constraint Undocumented
Method visit​_check​_constraint Undocumented
Method visit​_column​_check​_constraint Undocumented
Method visit​_computed​_column Undocumented
Method visit​_create​_column Undocumented
Method visit​_create​_index Undocumented
Method visit​_create​_schema Undocumented
Method visit​_create​_sequence Undocumented
Method visit​_create​_table Undocumented
Method visit​_ddl Undocumented
Method visit​_drop​_column​_comment Undocumented
Method visit​_drop​_constraint Undocumented
Method visit​_drop​_index Undocumented
Method visit​_drop​_schema Undocumented
Method visit​_drop​_sequence Undocumented
Method visit​_drop​_table Undocumented
Method visit​_drop​_table​_comment Undocumented
Method visit​_drop​_view Undocumented
Method visit​_foreign​_key​_constraint Undocumented
Method visit​_identity​_column Undocumented
Method visit​_primary​_key​_constraint Undocumented
Method visit​_set​_column​_comment Undocumented
Method visit​_set​_table​_comment Undocumented
Method visit​_table​_or​_column​_check​_constraint Undocumented
Method visit​_unique​_constraint Undocumented
Property sql​_compiler Return a Compiled that is capable of processing SQL expressions.
Property type​_compiler Undocumented

Inherited from Compiled:

Method __init__ Construct a new .Compiled object.
Method __str__ Return the string text of the generated SQL or DDL.
Method ​_execute​_on​_connection Undocumented
Method process Undocumented
Method visit​_unsupported​_compilation Undocumented
Class Variable ​_cached​_metadata Undocumented
Class Variable ​_result​_columns Undocumented
Class Variable cache​_key Undocumented
Class Variable compile​_state Optional .CompileState object that maintains additional state used by the compiler.
Instance Variable ​_annotations Undocumented
Instance Variable ​_gen​_time Undocumented
Instance Variable can​_execute Undocumented
Instance Variable dialect Undocumented
Instance Variable execution​_options Undocumented
Instance Variable preparer Undocumented
Instance Variable schema​_translate​_map Undocumented
Instance Variable statement Undocumented
Instance Variable string Undocumented
Property params Return the bind params for this compiled object.
def construct_params(self, params=None, extracted_parameters=None):
Return the bind params for this compiled object.
Parameters
paramsa dict of string/object pairs whose values will override bind values compiled in to the statement.
extracted​_parametersUndocumented
def define_constraint_remote_table(self, constraint, table, preparer):
Format the remote table clause of a CREATE CONSTRAINT clause.
def _prepared_index_name(self, index, include_schema=False):

Undocumented

def _verify_index_table(self, index):

Undocumented

def create_table_constraints(self, table, _include_foreign_key_constraints=None, **kw):

Undocumented

def create_table_suffix(self, table):

Undocumented

def define_constraint_cascades(self, constraint):
def define_constraint_deferrability(self, constraint):

Undocumented

def define_constraint_match(self, constraint):

Undocumented

def get_column_default_string(self, column):

Undocumented

def get_identity_options(self, identity_options):
def visit_add_constraint(self, create, **kw):

Undocumented

def visit_check_constraint(self, constraint, **kw):
def visit_column_check_constraint(self, constraint, **kw):
def visit_create_column(self, create, first_pk=False, **kw):

Undocumented

def visit_create_schema(self, create, **kw):

Undocumented

def visit_create_sequence(self, create, prefix=None, **kw):
def visit_create_table(self, create, **kw):

Undocumented

def visit_ddl(self, ddl, **kwargs):

Undocumented

def visit_drop_column_comment(self, drop, **kw):

Undocumented

def visit_drop_constraint(self, drop, **kw):

Undocumented

def visit_drop_schema(self, drop, **kw):

Undocumented

def visit_drop_sequence(self, drop, **kw):

Undocumented

def visit_drop_table(self, drop, **kw):

Undocumented

def visit_drop_view(self, drop, **kw):

Undocumented

def visit_foreign_key_constraint(self, constraint, **kw):
def visit_identity_column(self, identity, **kw):
def visit_primary_key_constraint(self, constraint, **kw):
def visit_set_column_comment(self, create, **kw):

Undocumented

def visit_set_table_comment(self, create, **kw):

Undocumented

def visit_table_or_column_check_constraint(self, constraint, **kw):

Undocumented

def visit_unique_constraint(self, constraint, **kw):
@util.memoized_property
sql_compiler =

Return a Compiled that is capable of processing SQL expressions.

If this compiler is one, it would likely just return 'self'.

@util.memoized_property
type_compiler =

Undocumented