class DDLCompiler(Compiled): (source)
Known subclasses: sqlalchemy.dialects.mssql.base.MSDDLCompiler
, sqlalchemy.dialects.mysql.base.MySQLDDLCompiler
, sqlalchemy.dialects.oracle.base.OracleDDLCompiler
, sqlalchemy.dialects.postgresql.base.PGDDLCompiler
, sqlalchemy.dialects.sqlite.base.SQLiteDDLCompiler
Undocumented
Method | __init__ |
Construct a new :class:`.Compiled` object. |
Method | construct |
Return the bind params for this compiled object. |
Method | create |
Undocumented |
Method | create |
Undocumented |
Method | define |
Undocumented |
Method | define |
Undocumented |
Method | define |
Undocumented |
Method | define |
Format the remote table clause of a CREATE CONSTRAINT clause. |
Method | get |
Undocumented |
Method | get |
Undocumented |
Method | get |
Undocumented |
Method | post |
Undocumented |
Method | render |
Undocumented |
Method | visit |
Undocumented |
Method | visit |
Undocumented |
Method | visit |
Undocumented |
Method | visit |
Undocumented |
Method | visit |
Undocumented |
Method | visit |
Undocumented |
Method | visit |
Undocumented |
Method | visit |
Undocumented |
Method | visit |
Undocumented |
Method | visit |
Undocumented |
Method | visit |
Undocumented |
Method | visit |
Undocumented |
Method | visit |
Undocumented |
Method | visit |
Undocumented |
Method | visit |
Undocumented |
Method | visit |
Undocumented |
Method | visit |
Undocumented |
Method | visit |
Undocumented |
Method | visit |
Undocumented |
Method | visit |
Undocumented |
Method | visit |
Undocumented |
Method | visit |
Undocumented |
Method | visit |
Undocumented |
Method | visit |
Undocumented |
Method | visit |
Undocumented |
Method | visit |
Undocumented |
Method | visit |
Undocumented |
Class Variable | is |
Undocumented |
Property | sql |
Return a Compiled that is capable of processing SQL expressions. |
Property | type |
Undocumented |
Method | _prepared |
Undocumented |
Method | _verify |
Undocumented |
Inherited from Compiled
:
Method | __init |
Undocumented |
Method | __str__ |
Return the string text of the generated SQL or DDL. |
Method | process |
Undocumented |
Method | visit |
Undocumented |
Class Variable | cache |
The :class:`.CacheKey` that was generated ahead of creating this :class:`.Compiled` object. |
Class Variable | compile |
Optional :class:`.CompileState` object that maintains additional state used by the compiler. |
Class Variable | dml |
Optional :class:`.CompileState` assigned at the same point that .isinsert, .isupdate, or .isdelete is assigned. |
Class Variable | is |
Undocumented |
Instance Variable | can |
Undocumented |
Instance Variable | dialect |
Undocumented |
Instance Variable | execution |
Undocumented |
Instance Variable | preparer |
Undocumented |
Instance Variable | schema |
Execution options propagated from the statement. In some cases, sub-elements of the statement can modify these. |
Instance Variable | state |
description of the compiler's state |
Instance Variable | statement |
The statement to compile. |
Instance Variable | string |
The string representation of the ``statement`` |
Property | params |
Return the bind params for this compiled object. |
Class Method | _init |
Undocumented |
Method | _execute |
Undocumented |
Class Variable | _cached |
Undocumented |
Class Variable | _result |
Undocumented |
Instance Variable | _annotations |
Undocumented |
Instance Variable | _gen |
Generation time of this :class:`.Compiled`, used for reporting cache stats. |
Dialect
, statement: ExecutableDDLElement
, schema_translate_map: Optional[ SchemaTranslateMapType]
= ..., render_schema_translate: bool
= ..., compile_kwargs: Mapping[ str, Any]
= ...):
(source)
¶
Construct a new :class:`.Compiled` object. :param dialect: :class:`.Dialect` to compile against. :param statement: :class:`_expression.ClauseElement` to be compiled. :param schema_translate_map: dictionary of schema names to be translated when forming the resultant SQL .. versionadded:: 1.1 .. seealso:: :ref:`schema_translating` :param compile_kwargs: additional kwargs that will be passed to the initial call to :meth:`.Compiled.process`.
Optional[ _CoreSingleExecuteParams]
= None, extracted_parameters: Optional[ Sequence[ BindParameter[ Any]]]
= None, escape_names: bool
= True) -> Optional[ _MutableCoreSingleExecuteParams]
:
(source)
¶
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.
sqlalchemy.dialects.sqlite.base.SQLiteDDLCompiler
Format the remote table clause of a CREATE CONSTRAINT clause.
sqlalchemy.dialects.postgresql.base.PGDDLCompiler
, sqlalchemy.dialects.sqlite.base.SQLiteDDLCompiler
Undocumented
sqlalchemy.dialects.mssql.base.MSDDLCompiler
, sqlalchemy.dialects.postgresql.base.PGDDLCompiler
Undocumented
sqlalchemy.dialects.postgresql.base.PGDDLCompiler
, sqlalchemy.dialects.sqlite.base.SQLiteDDLCompiler
Undocumented
sqlalchemy.dialects.mssql.base.MSDDLCompiler
, sqlalchemy.dialects.oracle.base.OracleDDLCompiler
Undocumented
sqlalchemy.dialects.mssql.base.MSDDLCompiler
, sqlalchemy.dialects.mysql.base.MySQLDDLCompiler
Undocumented
sqlalchemy.dialects.mssql.base.MSDDLCompiler
, sqlalchemy.dialects.mysql.base.MySQLDDLCompiler
Undocumented
sqlalchemy.dialects.mssql.base.MSDDLCompiler
, sqlalchemy.dialects.sqlite.base.SQLiteDDLCompiler
Undocumented