diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2021-04-09 09:25:04 -0400 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2021-04-09 09:25:04 -0400 |
| commit | d868f7914cd0617d529a6067e8ec7843692f8937 (patch) | |
| tree | 5916d3706abdf361730768603d01b7eb5f234281 /lib/sqlalchemy/sql | |
| parent | 5e416bfa91e7dcba5a0adb5f275341ac9f83fe81 (diff) | |
| download | sqlalchemy-d868f7914cd0617d529a6067e8ec7843692f8937.tar.gz | |
document scalar_subquery() with column_property()
Other doc cleanups and fixes as well, including more
explicitness that declarative attribute assignment only
works when a declarative base is involved; other forms
need to call add_property() directly.
Fixes: #6225
Change-Id: I123c3fb35cfa788b96bac7ab640f6de857d003d6
Diffstat (limited to 'lib/sqlalchemy/sql')
| -rw-r--r-- | lib/sqlalchemy/sql/selectable.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqlalchemy/sql/selectable.py b/lib/sqlalchemy/sql/selectable.py index f12744cfa..2a221cdf0 100644 --- a/lib/sqlalchemy/sql/selectable.py +++ b/lib/sqlalchemy/sql/selectable.py @@ -5883,7 +5883,7 @@ class ScalarSelect(roles.InElementRole, Generative, Grouping): """Represent a scalar subquery. - A :class:`_sql.ScalarSubquery` is created by invoking the + A :class:`_sql.ScalarSelect` is created by invoking the :meth:`_sql.SelectBase.scalar_subquery` method. The object then participates in other SQL expressions as a SQL column expression within the :class:`_sql.ColumnElement` hierarchy. |
