class documentation

class MySQLIdentifierPreparer(compiler.IdentifierPreparer):

Known subclasses: sqlalchemy.databases.mysql.MariaDBIdentifierPreparer, sqlalchemy.dialects.mysql.mysqlconnector.MySQLIdentifierPreparer_mysqlconnector

View In Hierarchy

Undocumented

Method __init__ Construct a new IdentifierPreparer object.
Method ​_quote​_free​_identifiers Unilaterally identifier-quote any number of strings.

Inherited from IdentifierPreparer:

Method format​_column Prepare a quoted column name.
Method format​_label​_name Prepare a quoted column name.
Method format​_schema Prepare a quoted schema name.
Method format​_table Prepare a quoted table and schema name.
Method format​_table​_seq Format table name and schema as a tuple.
Method quote Conditionally quote an identifier.
Method quote​_identifier Quote an identifier.
Method quote​_schema Conditionally quote a schema name.
Method unformat​_identifiers Unpack 'schema.table.column'-like strings into components.
Method validate​_sql​_phrase keyword sequence filter.
Class Variable schema​_for​_object Return the .schema attribute for an object.
Method ​_escape​_identifier Escape an identifier.
Method ​_render​_schema​_translates Undocumented
Method ​_requires​_quotes Return True if the given identifier requires quoting.
Method ​_requires​_quotes​_illegal​_chars Return True if the given identifier requires quoting, but not taking case convention into account.
Method ​_truncate​_and​_render​_maxlen​_name Undocumented
Method ​_unescape​_identifier Canonicalize an escaped identifier.
Method ​_with​_schema​_translate Undocumented
Method format​_alias Undocumented
Method format​_collation Undocumented
Method format​_constraint Undocumented
Method format​_index Undocumented
Method format​_label Undocumented
Method format​_savepoint Undocumented
Method format​_sequence Undocumented
Method truncate​_and​_render​_constraint​_name Undocumented
Method truncate​_and​_render​_index​_name Undocumented
Instance Variable ​_double​_percents Undocumented
Instance Variable ​_strings Undocumented
Instance Variable dialect Undocumented
Instance Variable escape​_quote Undocumented
Instance Variable escape​_to​_quote Undocumented
Instance Variable final​_quote Undocumented
Instance Variable initial​_quote Undocumented
Instance Variable omit​_schema Undocumented
Instance Variable quote​_case​_sensitive​_collations Undocumented
Property ​_r​_identifiers Undocumented
def __init__(self, dialect, server_ansiquotes=False, **kw):

Construct a new IdentifierPreparer object.

initial_quote
Character that begins a delimited identifier.
final_quote
Character that ends a delimited identifier. Defaults to initial_quote.
omit_schema
Prevent prepending schema name. Useful for databases that do not support schemae.
def _quote_free_identifiers(self, *ids):
Unilaterally identifier-quote any number of strings.