diff options
| author | mike bayer <mike_mp@zzzcomputing.com> | 2021-02-03 21:26:19 +0000 |
|---|---|---|
| committer | Gerrit Code Review <gerrit@bbpush.zzzcomputing.com> | 2021-02-03 21:26:19 +0000 |
| commit | 496efe51262be77d73ed514c4de16cdc2da2d435 (patch) | |
| tree | 6555470ba68316d7977748474e709665b190fb8e /lib/sqlalchemy/sql/base.py | |
| parent | 08fd52156459b26f54b22f9014e2ed197730cc37 (diff) | |
| parent | afcab5edf6a3a6e9e83d1940d0be079e92c53e79 (diff) | |
| download | sqlalchemy-496efe51262be77d73ed514c4de16cdc2da2d435.tar.gz | |
Merge "Implement support for functions as FROM with columns clause support"
Diffstat (limited to 'lib/sqlalchemy/sql/base.py')
| -rw-r--r-- | lib/sqlalchemy/sql/base.py | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/lib/sqlalchemy/sql/base.py b/lib/sqlalchemy/sql/base.py index fe9455fb9..c76c9ae14 100644 --- a/lib/sqlalchemy/sql/base.py +++ b/lib/sqlalchemy/sql/base.py @@ -935,13 +935,11 @@ class Executable(roles.CoerceTextStatementRole, Generative): @util.deprecated_20( ":meth:`.Executable.scalar`", - alternative="All statement execution in SQLAlchemy 2.0 is performed " - "by the :meth:`_engine.Connection.execute` method of " + alternative="Scalar execution in SQLAlchemy 2.0 is performed " + "by the :meth:`_engine.Connection.scalar` method of " ":class:`_engine.Connection`, " - "or in the ORM by the :meth:`.Session.execute` method of " - ":class:`.Session`; the :meth:`_future.Result.scalar` " - "method can then be " - "used to return a scalar result.", + "or in the ORM by the :meth:`.Session.scalar` method of " + ":class:`.Session`.", ) def scalar(self, *multiparams, **params): """Compile and execute this :class:`.Executable`, returning the |
