sqlalchemy :: sql :: compiler :: DDLCompiler :: Class DDLCompiler
[hide private]
[frames] | no frames]

Class DDLCompiler


Instance Methods [hide private]
 
_prepared_index_name(self, index, include_schema=False)
 
_verify_index_table(self, index)
 
construct_params(self, params=None)
Return the bind params for this compiled object.
 
create_table_constraints(self, table, _include_foreign_key_constraints=None)
 
define_constraint_cascades(self, constraint)
 
define_constraint_deferrability(self, constraint)
 
define_constraint_match(self, constraint)
 
define_constraint_remote_table(self, constraint, table, preparer)
Format the remote table clause of a CREATE CONSTRAINT clause.
 
get_column_default_string(self, column)
 
get_column_specification(self, column, **kwargs)
 
post_create_table(self, table)
 
sql_compiler(...)
Return a Compiled that is capable of processing SQL expressions.
 
type_compiler(...)
 
visit_add_constraint(self, create)
 
visit_check_constraint(self, constraint)
 
visit_column_check_constraint(self, constraint)
 
visit_create_column(self, create, first_pk=False)
 
visit_create_index(self, create, include_schema=False, include_table_schema=True)
 
visit_create_schema(self, create)
 
visit_create_sequence(self, create)
 
visit_create_table(self, create)
 
visit_ddl(self, ddl, **kwargs)
 
visit_drop_constraint(self, drop)
 
visit_drop_index(self, drop)
 
visit_drop_schema(self, drop)
 
visit_drop_sequence(self, drop)
 
visit_drop_table(self, drop)
 
visit_drop_view(self, drop)
 
visit_foreign_key_constraint(self, constraint)
 
visit_primary_key_constraint(self, constraint)
 
visit_unique_constraint(self, constraint)

Inherited from Compiled: __init__, __str__, compile, execute, process, scalar

Inherited from Compiled (private): _execute_on_connection

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __subclasshook__

Class Variables [hide private]

Inherited from Compiled (private): _cached_metadata

Properties [hide private]
  preparer

Inherited from Compiled: params

Inherited from object: __class__

Method Details [hide private]

construct_params(self, params=None)

 
Return the bind params for this compiled object.

:param params: a dict of string/object pairs whose values will
               override bind values compiled in to the
               statement.

Overrides: Compiled.construct_params
(inherited documentation)

sql_compiler(...)

 

Return a Compiled that is capable of processing SQL expressions.

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

Overrides: sql_compiler
(inherited documentation)

Property Details [hide private]

preparer

Get Method:
unreachable.preparer(self)