diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2020-04-14 13:15:21 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2020-04-14 13:15:21 -0400 |
commit | cea03be855514d592b6671fa6dbc074a19a795fb (patch) | |
tree | f127540bda77a4ea5d9935cffedf04d8b01776a9 /lib/sqlalchemy/sql/compiler.py | |
parent | a898ade3bc36ca27cf9475d1348249646eb40e95 (diff) | |
download | sqlalchemy-cea03be855514d592b6671fa6dbc074a19a795fb.tar.gz |
Run search and replace of symbolic module names
Replaces a wide array of Sphinx-relative doc references
with an abbreviated absolute form now supported by
zzzeeksphinx.
Change-Id: I94bffcc3f37885ffdde6238767224296339698a2
Diffstat (limited to 'lib/sqlalchemy/sql/compiler.py')
-rw-r--r-- | lib/sqlalchemy/sql/compiler.py | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/lib/sqlalchemy/sql/compiler.py b/lib/sqlalchemy/sql/compiler.py index 23b15b158..7ef9f7e6d 100644 --- a/lib/sqlalchemy/sql/compiler.py +++ b/lib/sqlalchemy/sql/compiler.py @@ -393,7 +393,7 @@ class Compiled(object): :param dialect: :class:`.Dialect` to compile against. - :param statement: :class:`.ClauseElement` to be compiled. + :param statement: :class:`_expression.ClauseElement` to be compiled. :param bind: Optional Engine or Connection to compile this statement against. @@ -533,7 +533,7 @@ class _CompileLabel(elements.ColumnElement): class SQLCompiler(Compiled): """Default implementation of :class:`.Compiled`. - Compiles :class:`.ClauseElement` objects into SQL strings. + Compiles :class:`_expression.ClauseElement` objects into SQL strings. """ @@ -637,8 +637,9 @@ class SQLCompiler(Compiled): """Optional :class:`.CompileState` object that maintains additional state used by the compiler. - Major executable objects such as :class:`~.sql.expression.Insert`, - :class:`.Update`, :class:`.Delete`, :class:`.Select` will generate this + Major executable objects such as :class:`_expression.Insert`, + :class:`_expression.Update`, :class:`_expression.Delete`, + :class:`_expression.Select` will generate this state when compiled in order to calculate additional information about the object. For the top level object that is to be executed, the state can be stored here where it can also have applicability towards result set @@ -662,7 +663,7 @@ class SQLCompiler(Compiled): :param dialect: :class:`.Dialect` to be used - :param statement: :class:`.ClauseElement` to be compiled + :param statement: :class:`_expression.ClauseElement` to be compiled :param column_keys: a list of column names to be compiled into an INSERT or UPDATE statement. @@ -3351,10 +3352,12 @@ class StrSQLCompiler(SQLCompiler): The :class:`.StrSQLCompiler` is invoked whenever a Core expression element is directly stringified without calling upon the - :meth:`.ClauseElement.compile` method. It can render a limited set + :meth:`_expression.ClauseElement.compile` method. + It can render a limited set of non-standard SQL constructs to assist in basic stringification, however for more substantial custom or dialect-specific SQL constructs, - it will be necessary to make use of :meth:`.ClauseElement.compile` + it will be necessary to make use of + :meth:`_expression.ClauseElement.compile` directly. .. seealso:: |