class OracleDialect(default.DefaultDialect): (source)
Known subclasses: sqlalchemy.dialects.oracle.cx_oracle.OracleDialect_cx_oracle
Undocumented
Method | __init__ |
Undocumented |
Method | denormalize |
Undocumented |
Method | do |
Release the named savepoint on a connection. |
Method | get |
Supported kw arguments are: ``dblink`` to reflect via a db link; ``oracle_resolve_synonyms`` to resolve names to synonyms |
Method | get |
Supported kw arguments are: ``dblink`` to reflect via a db link; ``oracle_resolve_synonyms`` to resolve names to synonyms |
Method | get |
Given a DBAPI connection, return its isolation level, or a default isolation level if one cannot be retrieved. |
Method | get |
Supported kw arguments are: ``dblink`` to reflect via a db link; ``oracle_resolve_synonyms`` to resolve names to synonyms |
Method | get |
Supported kw arguments are: ``dblink`` to reflect via a db link; ``oracle_resolve_synonyms`` to resolve names to synonyms |
Method | get |
return a sequence of string isolation level names that are accepted by this dialect. |
Method | get |
Supported kw arguments are: ``dblink`` to reflect via a db link. |
Method | get |
Supported kw arguments are: ``dblink`` to reflect via a db link; ``oracle_resolve_synonyms`` to resolve names to synonyms |
Method | get |
Supported kw arguments are: ``dblink`` to reflect via a db link; ``oracle_resolve_synonyms`` to resolve names to synonyms |
Method | get |
Supported kw arguments are: ``dblink`` to reflect via a db link; ``oracle_resolve_synonyms`` to resolve names to synonyms |
Method | get |
Supported kw arguments are: ``dblink`` to reflect via a db link; ``oracle_resolve_synonyms`` to resolve names to synonyms |
Method | get |
Supported kw arguments are: ``dblink`` to reflect via a db link; ``oracle_resolve_synonyms`` to resolve names to synonyms |
Method | get |
Supported kw arguments are: ``dblink`` to reflect via a db link; ``oracle_resolve_synonyms`` to resolve names to synonyms |
Method | get |
Supported kw arguments are: ``dblink`` to reflect via a db link; ``oracle_resolve_synonyms`` to resolve names to synonyms |
Method | get |
Supported kw arguments are: ``dblink`` to reflect via a db link; ``oracle_resolve_synonyms`` to resolve names to synonyms |
Method | get |
Supported kw arguments are: ``dblink`` to reflect via a db link; ``oracle_resolve_synonyms`` to resolve names to synonyms |
Method | get |
Supported kw arguments are: ``dblink`` to reflect via a db link. |
Method | get |
Supported kw arguments are: ``dblink`` to reflect via a db link. |
Method | get |
Supported kw arguments are: ``dblink`` to reflect via a db link; ``oracle_resolve_synonyms`` to resolve names to synonyms |
Method | get |
Supported kw arguments are: ``dblink`` to reflect via a db link. |
Method | get |
Supported kw arguments are: ``dblink`` to reflect via a db link; ``oracle_resolve_synonyms`` to resolve names to synonyms |
Method | get |
Supported kw arguments are: ``dblink`` to reflect via a db link. |
Method | get |
Supported kw arguments are: ``dblink`` to reflect via a db link; ``oracle_resolve_synonyms`` to resolve names to synonyms |
Method | get |
Supported kw arguments are: ``dblink`` to reflect via a db link; ``oracle_resolve_synonyms`` to resolve names to synonyms |
Method | get |
Supported kw arguments are: ``dblink`` to reflect via a db link. |
Method | has |
Supported kw arguments are: ``dblink`` to reflect via a db link. |
Method | has |
Supported kw arguments are: ``dblink`` to reflect via a db link. |
Method | initialize |
Called during strategized creation of the dialect with a connection. |
Class Variable | construct |
Optional set of argument specifiers for various SQLAlchemy constructs, typically schema items. |
Class Variable | cte |
target database, when given a CTE with an INSERT statement, needs the CTE to be below the INSERT |
Class Variable | default |
Undocumented |
Class Variable | delete |
if the dialect supports RETURNING with DELETE |
Class Variable | div |
target database treats the / division operator as "floor division" |
Class Variable | insert |
if the dialect supports RETURNING with INSERT |
Class Variable | max |
The maximum length of identifier names. |
Class Variable | name |
identifying name for the dialect from a DBAPI-neutral point of view (i.e. 'sqlite') |
Class Variable | postfetch |
Undocumented |
Class Variable | reflection |
Sequence of string names indicating keyword arguments that can be established on a :class:`.Table` object which will be passed as "reflection options" when using :paramref:`.Table.autoload_with`. |
Class Variable | requires |
Undocumented |
Class Variable | sequences |
If True, indicates if the :paramref:`_schema.Sequence.optional` parameter on the :class:`_schema.Sequence` construct should signal to not generate a CREATE SEQUENCE. Applies only to dialects that support sequences... |
Class Variable | supports |
``True`` if the database supports ``ALTER TABLE`` - used only for generating foreign key constraints in certain circumstances |
Class Variable | supports |
Indicates the dialect supports comment DDL on tables and columns. |
Class Variable | supports |
dialect supports INSERT... VALUES (DEFAULT) syntax |
Class Variable | supports |
dialect supports INSERT... DEFAULT VALUES syntax |
Class Variable | supports |
dialect supports INSERT () VALUES () |
Class Variable | supports |
Indicates if the dialect supports CREATE SEQUENCE or similar. |
Class Variable | supports |
target database supports ORDER BY <labelname>, where <labelname> refers to a label in the columns clause of the SELECT |
Class Variable | supports |
indicates if this dialect supports caching. |
Class Variable | update |
if the dialect supports RETURNING with UPDATE |
Instance Variable | colspecs |
A dictionary of TypeEngine classes from sqlalchemy.types mapped to subclasses that are specific to the dialect class. This dictionary is class-level only and is not accessed from the dialect instance itself. |
Instance Variable | enable |
Undocumented |
Instance Variable | exclude |
Undocumented |
Instance Variable | optimize |
Undocumented |
Instance Variable | supports |
target database supports IDENTITY |
Instance Variable | use |
Undocumented |
Method | _all |
Undocumented |
Method | _check |
Perform a connection / server version specific check to determine the max_identifier_length. |
Method | _column |
Undocumented |
Method | _comment |
Undocumented |
Method | _constraint |
Undocumented |
Method | _execute |
Undocumented |
Method | _get |
Undocumented |
Method | _get |
Undocumented |
Method | _get |
Return the string name of the currently selected schema from the given connection. |
Method | _get |
Undocumented |
Method | _get |
Undocumented |
Method | _get |
Undocumented |
Method | _handle |
Undocumented |
Method | _handle |
Undocumented |
Method | _index |
Undocumented |
Method | _list |
Undocumented |
Method | _parse |
Undocumented |
Method | _prepare |
Undocumented |
Method | _run |
Undocumented |
Method | _table |
Undocumented |
Method | _value |
Undocumented |
Instance Variable | _supports |
Undocumented |
Instance Variable | _use |
Undocumented |
Property | _has |
Undocumented |
Property | _is |
Undocumented |
Property | _supports |
Undocumented |
Property | _supports |
Undocumented |
Property | _supports |
Undocumented |
Property | _supports |
Undocumented |
Property | _supports |
Undocumented |
Inherited from DefaultDialect
:
Class Method | get |
Undocumented |
Class Method | load |
set up the provision.py module for this dialect. |
Method | connect |
Establish a connection using this dialect's DBAPI. |
Method | create |
Build DB-API compatible connection arguments. |
Method | create |
Create a random two-phase transaction ID. |
Method | denormalize |
convert the given name to a case insensitive identifier for the backend if it is an all-lowercase name. |
Method | do |
Provide an implementation of ``connection.begin()``, given a DB-API connection. |
Method | do |
Provide an implementation of ``connection.close()``, given a DBAPI connection. |
Method | do |
Provide an implementation of ``connection.commit()``, given a DB-API connection. |
Method | do |
Provide an implementation of ``cursor.execute(statement, parameters)``. |
Method | do |
Provide an implementation of ``cursor.execute(statement)``. |
Method | do |
Provide an implementation of ``cursor.executemany(statement, parameters)``. |
Method | do |
ping the DBAPI connection and return True if the connection is usable. |
Method | do |
Provide an implementation of ``connection.rollback()``, given a DB-API connection. |
Method | do |
Rollback a connection to the named savepoint. |
Method | do |
Create a savepoint with the given name. |
Method | do |
Provide an implementation of ``connection.close()`` that tries as much as possible to not block, given a DBAPI connection. |
Method | get |
return a Pool class to use for a given URL |
Method | get |
Returns the connection object as returned by the external driver package. |
Method | has |
Check the existence of a particular index name in the database. |
Method | has |
Check the existence of a particular schema name in the database. |
Method | is |
Return True if the given DB-API error indicates an invalid connection |
Method | normalize |
convert the given name to lowercase if it is detected as case insensitive. |
Method | on |
return a callable which sets up a newly created DBAPI connection. |
Method | reset |
Given a DBAPI connection, revert its isolation to the default. |
Method | set |
Establish execution options for a given connection. |
Method | set |
Establish execution options for a given engine. |
Method | type |
Provide a database-specific :class:`.TypeEngine` object, given the generic object which comes from the types module. |
Method | validate |
Undocumented |
Class Variable | connection |
Undocumented |
Class Variable | default |
for INSERT... VALUES (DEFAULT) syntax, the token to put in the parenthesis. |
Class Variable | default |
the default value that will be rendered as the "START WITH" portion of a CREATE SEQUENCE DDL statement. |
Class Variable | delete |
dialect supports DELETE..RETURNING with executemany. |
Class Variable | delete |
if the dialect supports RETURNING with DELETE..FROM |
Class Variable | engine |
a mapping of string keys that can be in an engine config linked to type conversion functions. |
Class Variable | exclude |
set of DBAPI type objects that should be excluded in automatic cursor.setinputsizes() calls. |
Class Variable | favor |
for backends that support both a lastrowid and a RETURNING insert strategy, favor RETURNING for simple single-int pk inserts. |
Class Variable | has |
Whether or not this dialect has a separate "terminate" implementation that does not block or require awaiting. |
Class Variable | include |
set of DBAPI type objects that should be included in automatic cursor.setinputsizes() calls. |
Class Variable | inline |
Indicates the dialect supports comment DDL that's inline with the definition of a Table or Column. If False, this implies that ALTER must be used to set table and column comments. |
Class Variable | insert |
Undocumented |
Class Variable | insertmanyvalues |
Alternate to insertmanyvalues_page_size, will additionally limit page size based on number of parameters total in the statement. |
Class Variable | is |
Whether or not this dialect is intended for asyncio use. |
Class Variable | isolation |
Undocumented |
Class Variable | max |
Undocumented |
Class Variable | max |
Undocumented |
Class Variable | non |
Undocumented |
Class Variable | preexecute |
True if 'implicit' primary key functions must be executed separately in order to get their value, if RETURNING is not used. |
Class Variable | server |
deprecated; indicates if the dialect should attempt to use server side cursors by default |
Class Variable | supports |
Indicates if the dialect supports comment DDL on constraints. |
Class Variable | supports |
Undocumented |
Class Variable | supports |
Undocumented |
Class Variable | supports |
Target database supports INSERT...VALUES with multiple value sets, i.e. INSERT INTO table (cols) VALUES (...), (...), (...), ... |
Class Variable | supports |
indicates if Decimal objects are handled and returned for precision numeric types, or if floats are returned |
Class Variable | supports |
Indicates if the dialect supports a native ENUM construct. This will prevent :class:`_types.Enum` from generating a CHECK constraint when that type is used in "native" mode. |
Class Variable | supports |
indicates if Python UUID() objects are handled natively by the driver for SQL UUID datatypes. |
Class Variable | supports |
Indicate whether the dialect properly implements rowcount for ``UPDATE`` and ``DELETE`` statements when executed via executemany. |
Class Variable | supports |
Indicate whether the dialect properly implements rowcount for ``UPDATE`` and ``DELETE`` statements. |
Class Variable | supports |
Undocumented |
Class Variable | supports |
indicates if the dialect supports server side cursors |
Class Variable | supports |
Undocumented |
Class Variable | tuple |
target database supports tuple IN, i.e. (x, y) IN ((q, p), (r, z)) |
Class Variable | update |
dialect supports UPDATE..RETURNING with executemany. |
Class Variable | update |
if the dialect supports RETURNING with UPDATE..FROM |
Class Variable | use |
if True, and use_insertmanyvalues is also True, INSERT statements that don't include RETURNING will also use "insertmanyvalues". |
Instance Variable | bind |
Undocumented |
Instance Variable | compiler |
Undocumented |
Instance Variable | dbapi |
A reference to the DBAPI module object itself. |
Instance Variable | default |
the isolation that is implicitly present on new connections |
Instance Variable | default |
the name of the default schema. This value is only available for supporting dialects, and is typically populated during the initial connection to the database. |
Instance Variable | identifier |
This element will refer to an instance of :class:`.IdentifierPreparer` once a :class:`.DefaultDialect` has been constructed. |
Instance Variable | insertmanyvalues |
Number of rows to render into an individual INSERT..VALUES() statement for :attr:`.ExecuteStyle.INSERTMANYVALUES` executions. |
Instance Variable | label |
optional user-defined max length for SQL labels |
Instance Variable | paramstyle |
the paramstyle to be used (some DB-APIs support multiple paramstyles). |
Instance Variable | positional |
True if the paramstyle for this Dialect is positional. |
Instance Variable | server |
a tuple containing a version number for the DB backend in use. |
Instance Variable | supports |
Indicates if the dialect supports a native boolean construct. This will prevent :class:`_types.Boolean` from generating a CHECK constraint when that type is used. |
Instance Variable | type |
legacy; this is a TypeCompiler class at the class level, a TypeCompiler instance at the instance level. |
Instance Variable | type |
instance of a :class:`.Compiled` class used to compile SQL type objects |
Instance Variable | use |
if True, indicates "insertmanyvalues" functionality should be used to allow for ``insert_executemany_returning`` behavior, if possible. |
Property | dialect |
Undocumented |
Property | full |
Undocumented |
Property | insert |
dialect / driver / database supports some means of providing INSERT...RETURNING support when dialect.do_executemany() is used. |
Property | loaded |
same as .dbapi, but is never None; will raise an error if no DBAPI was set up. |
Property | supports |
True if this dialect supports sane rowcount even if RETURNING is in use. |
Method | _assert |
Undocumented |
Method | _builtin |
Undocumented |
Method | _default |
Undocumented |
Method | _deliver |
convert executemany parameters for an INSERT into an iterator of statement/single execute values, used by the insertmanyvalues feature. |
Method | _do |
Undocumented |
Method | _ensure |
Undocumented |
Method | _gen |
Undocumented |
Method | _overrides |
Undocumented |
Method | _reset |
Undocumented |
Method | _set |
Undocumented |
Class Variable | _legacy |
Undocumented |
Instance Variable | _ischema |
Undocumented |
Instance Variable | _on |
Undocumented |
Instance Variable | _user |
Undocumented |
Property | _bind |
Undocumented |
Property | _dialect |
Undocumented |
Property | _supports |
internal evaluation for supports_statement_cache |
Property | _type |
Undocumented |
Inherited from Dialect
(via DefaultDialect
):
Class Method | engine |
A convenience hook called before returning the final :class:`_engine.Engine`. |
Class Method | get |
Given a URL, return the :class:`.Dialect` that will be used by an async engine. |
Class Method | get |
Given a URL, return the :class:`.Dialect` that will be used. |
Class Method | import |
Import the DBAPI module that is used by this dialect. |
Method | do |
Begin a two phase transaction on the given connection. |
Method | do |
Commit a two phase transaction on the given connection. |
Method | do |
Prepare a two phase transaction on the given connection. |
Method | do |
Recover list of uncommitted prepared two phase transaction identifiers on the given connection. |
Method | do |
Rollback a two phase transaction on the given connection. |
Method | do |
invoke the cursor.setinputsizes() method with appropriate arguments |
Method | get |
Given a DBAPI connection, return its isolation level. |
Method | get |
Return a list of temporary view names on the given connection, if supported by the underlying backend. |
Method | on |
return a callable which sets up a newly created DBAPI connection. |
Method | set |
Given a DBAPI connection, set its isolation level. |
Class Variable | ddl |
a :class:`.Compiled` class used to compile DDL statements |
Class Variable | dispatch |
Undocumented |
Class Variable | driver |
identifying name for the dialect's DBAPI |
Class Variable | execute |
either the 'tuple' or 'list' type, depending on what cursor.execute() accepts for the second argument (they vary). |
Class Variable | execution |
a :class:`.ExecutionContext` class used to handle statement execution |
Class Variable | preparer |
a :class:`.IdentifierPreparer` class used to quote identifiers. |
Class Variable | statement |
a :class:`.Compiled` class used to compile SQL statements |
Class Variable | type |
a :class:`.Compiled` class used to compile SQL type objects |
Method | _get |
Retrieve the server version info from the given connection. |
Class Variable | _has |
Undocumented |
def __init__(self, use_ansi=True, optimize_limits=False, use_binds_for_limits=None, use_nchar_for_unicode=False, exclude_tablespaces=(
Undocumented
Release the named savepoint on a connection. :param connection: a :class:`_engine.Connection`. :param name: savepoint name.
def get_check_constraints(self, connection, table_name, schema=None, include_all=False, **kw): (source) ¶
Supported kw arguments are: ``dblink`` to reflect via a db link; ``oracle_resolve_synonyms`` to resolve names to synonyms
Supported kw arguments are: ``dblink`` to reflect via a db link; ``oracle_resolve_synonyms`` to resolve names to synonyms
Given a DBAPI connection, return its isolation level, or a default isolation level if one cannot be retrieved. May be overridden by subclasses in order to provide a "fallback" isolation level for databases that cannot reliably retrieve the actual isolation level. By default, calls the :meth:`_engine.Interfaces.get_isolation_level` method, propagating any exceptions raised. .. versionadded:: 1.3.22
Supported kw arguments are: ``dblink`` to reflect via a db link; ``oracle_resolve_synonyms`` to resolve names to synonyms
Supported kw arguments are: ``dblink`` to reflect via a db link; ``oracle_resolve_synonyms`` to resolve names to synonyms
return a sequence of string isolation level names that are accepted by this dialect. The available names should use the following conventions: * use UPPERCASE names. isolation level methods will accept lowercase names but these are normalized into UPPERCASE before being passed along to the dialect. * separate words should be separated by spaces, not underscores, e.g. ``REPEATABLE READ``. isolation level names will have underscores converted to spaces before being passed along to the dialect. * The names for the four standard isolation names to the extent that they are supported by the backend should be ``READ UNCOMMITTED`` ``READ COMMITTED``, ``REPEATABLE READ``, ``SERIALIZABLE`` * if the dialect supports an autocommit option it should be provided using the isolation level name ``AUTOCOMMIT``. * Other isolation modes may also be present, provided that they are named in UPPERCASE and use spaces not underscores. This function is used so that the default dialect can check that a given isolation level parameter is valid, else raises an :class:`_exc.ArgumentError`. A DBAPI connection is passed to the method, in the unlikely event that the dialect needs to interrogate the connection itself to determine this list, however it is expected that most backends will return a hardcoded list of values. If the dialect supports "AUTOCOMMIT", that value should also be present in the sequence returned. The method raises ``NotImplementedError`` by default. If a dialect does not implement this method, then the default dialect will not perform any checking on a given isolation level value before passing it onto the :meth:`.Dialect.set_isolation_level` method. This is to allow backwards-compatibility with third party dialects that may not yet be implementing this method. .. versionadded:: 2.0
def get_materialized_view_names(self, connection, schema=None, dblink=None, _normalize=True, **kw): (source) ¶
Supported kw arguments are: ``dblink`` to reflect via a db link.
def get_multi_check_constraints(self, connection, *, schema, filter_names, dblink=None, scope, kind, include_all=False, **kw): (source) ¶
Supported kw arguments are: ``dblink`` to reflect via a db link; ``oracle_resolve_synonyms`` to resolve names to synonyms
def get_multi_columns(self, connection, *, schema, filter_names, scope, kind, dblink=None, **kw): (source) ¶
Supported kw arguments are: ``dblink`` to reflect via a db link; ``oracle_resolve_synonyms`` to resolve names to synonyms
def get_multi_foreign_keys(self, connection, *, scope, schema, filter_names, kind, dblink=None, **kw): (source) ¶
Supported kw arguments are: ``dblink`` to reflect via a db link; ``oracle_resolve_synonyms`` to resolve names to synonyms
def get_multi_indexes(self, connection, *, schema, filter_names, scope, kind, dblink=None, **kw): (source) ¶
Supported kw arguments are: ``dblink`` to reflect via a db link; ``oracle_resolve_synonyms`` to resolve names to synonyms
def get_multi_pk_constraint(self, connection, *, scope, schema, filter_names, kind, dblink=None, **kw): (source) ¶
Supported kw arguments are: ``dblink`` to reflect via a db link; ``oracle_resolve_synonyms`` to resolve names to synonyms
def get_multi_table_comment(self, connection, *, schema, filter_names, scope, kind, dblink=None, **kw): (source) ¶
Supported kw arguments are: ``dblink`` to reflect via a db link; ``oracle_resolve_synonyms`` to resolve names to synonyms
def get_multi_table_options(self, connection, *, schema, filter_names, scope, kind, dblink=None, **kw): (source) ¶
Supported kw arguments are: ``dblink`` to reflect via a db link; ``oracle_resolve_synonyms`` to resolve names to synonyms
def get_multi_unique_constraints(self, connection, *, scope, schema, filter_names, kind, dblink=None, **kw): (source) ¶
Supported kw arguments are: ``dblink`` to reflect via a db link; ``oracle_resolve_synonyms`` to resolve names to synonyms
def get_pk_constraint(self, connection, table_name, schema=None, **kw): (source) ¶
Supported kw arguments are: ``dblink`` to reflect via a db link; ``oracle_resolve_synonyms`` to resolve names to synonyms
def get_sequence_names(self, connection, schema=None, dblink=None, **kw): (source) ¶
Supported kw arguments are: ``dblink`` to reflect via a db link.
def get_table_comment(self, connection, table_name, schema=None, **kw): (source) ¶
Supported kw arguments are: ``dblink`` to reflect via a db link; ``oracle_resolve_synonyms`` to resolve names to synonyms
def get_table_options(self, connection, table_name, schema=None, **kw): (source) ¶
Supported kw arguments are: ``dblink`` to reflect via a db link; ``oracle_resolve_synonyms`` to resolve names to synonyms
def get_unique_constraints(self, connection, table_name, schema=None, **kw): (source) ¶
Supported kw arguments are: ``dblink`` to reflect via a db link; ``oracle_resolve_synonyms`` to resolve names to synonyms
def get_view_definition(self, connection, view_name, schema=None, dblink=None, **kw): (source) ¶
Supported kw arguments are: ``dblink`` to reflect via a db link; ``oracle_resolve_synonyms`` to resolve names to synonyms
def has_sequence(self, connection, sequence_name, schema=None, dblink=None, **kw): (source) ¶
Supported kw arguments are: ``dblink`` to reflect via a db link.
def has_table(self, connection, table_name, schema=None, dblink=None, **kw): (source) ¶
Supported kw arguments are: ``dblink`` to reflect via a db link.
Called during strategized creation of the dialect with a connection. Allows dialects to configure options based on server version info or other properties. The connection passed here is a SQLAlchemy Connection object, with full capabilities. The initialize() method of the base dialect should be called via super(). .. note:: as of SQLAlchemy 1.4, this method is called **before** any :meth:`_engine.Dialect.on_connect` hooks are called.
Optional set of argument specifiers for various SQLAlchemy constructs, typically schema items. To implement, establish as a series of tuples, as in:: construct_arguments = [ (schema.Index, { "using": False, "where": None, "ops": None }) ] If the above construct is established on the PostgreSQL dialect, the :class:`.Index` construct will now accept the keyword arguments ``postgresql_using``, ``postgresql_where``, nad ``postgresql_ops``. Any other argument specified to the constructor of :class:`.Index` which is prefixed with ``postgresql_`` will raise :class:`.ArgumentError`. A dialect which does not include a ``construct_arguments`` member will not participate in the argument validation system. For such a dialect, any argument name is accepted by all participating constructs, within the namespace of arguments prefixed with that dialect name. The rationale here is so that third-party dialects that haven't yet implemented this feature continue to function in the old way. .. versionadded:: 0.9.2 .. seealso:: :class:`.DialectKWArgs` - implementing base class which consumes :attr:`.DefaultDialect.construct_arguments`
Sequence of string names indicating keyword arguments that can be established on a :class:`.Table` object which will be passed as "reflection options" when using :paramref:`.Table.autoload_with`. Current example is "oracle_resolve_synonyms" in the Oracle dialect.
If True, indicates if the :paramref:`_schema.Sequence.optional` parameter on the :class:`_schema.Sequence` construct should signal to not generate a CREATE SEQUENCE. Applies only to dialects that support sequences. Currently used only to allow PostgreSQL SERIAL to be used on a column that specifies Sequence() for usage on other backends.
``True`` if the database supports ``ALTER TABLE`` - used only for generating foreign key constraints in certain circumstances
target database supports ORDER BY <labelname>, where <labelname> refers to a label in the columns clause of the SELECT
indicates if this dialect supports caching. All dialects that are compatible with statement caching should set this flag to True directly on each dialect class and subclass that supports it. SQLAlchemy tests that this flag is locally present on each dialect subclass before it will use statement caching. This is to provide safety for legacy or new dialects that are not yet fully tested to be compliant with SQL statement caching. .. versionadded:: 1.4.5 .. seealso:: :ref:`engine_thirdparty_caching`
A dictionary of TypeEngine classes from sqlalchemy.types mapped to subclasses that are specific to the dialect class. This dictionary is class-level only and is not accessed from the dialect instance itself.
def _all_objects_query(self, owner, scope, kind, has_filter_names, has_mat_views): (source) ¶
Undocumented
Perform a connection / server version specific check to determine the max_identifier_length. If the dialect's class level max_identifier_length should be used, can return None. .. versionadded:: 1.3.9
def _get_all_constraint_rows(self, connection, schema, dblink, all_objects, **kw): (source) ¶
Undocumented
def _get_all_objects(self, connection, schema, scope, kind, filter_names, dblink, **kw): (source) ¶
Undocumented
Return the string name of the currently selected schema from the given connection. This is used by the default implementation to populate the "default_schema_name" attribute and is called exactly once upon first connect.
def _get_indexes_rows(self, connection, schema, dblink, all_objects, **kw): (source) ¶
Undocumented
def _get_synonyms(self, connection, schema, filter_names, dblink, **kw): (source) ¶
Undocumented