diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2023-01-03 18:21:25 -0500 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2023-01-03 18:21:25 -0500 |
commit | 72268e9387140df6444e9e88391ce604b9719639 (patch) | |
tree | f1444ed01bb0171076ee68b9c241a969f098da86 /lib/sqlalchemy/sql/selectable.py | |
parent | 124edd2addd24f67d063dcdb3231a294a4e2c86a (diff) | |
download | sqlalchemy-72268e9387140df6444e9e88391ce604b9719639.tar.gz |
tutorial updates re: Core /ORM commonality
updates for Insert / bulk insert, executemanyvalues,
as well as beginning to describe Table / declared class more
closely together, mentioning typing support.
Fixed a long-standing issue where sphinx would complain about
the Insert symbol being ambiguous.
Change-Id: Id4cc09b9581e8fa39c9c00bc8f229636e626e9bc
Diffstat (limited to 'lib/sqlalchemy/sql/selectable.py')
-rw-r--r-- | lib/sqlalchemy/sql/selectable.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/sqlalchemy/sql/selectable.py b/lib/sqlalchemy/sql/selectable.py index 51f3b6a81..898b524ad 100644 --- a/lib/sqlalchemy/sql/selectable.py +++ b/lib/sqlalchemy/sql/selectable.py @@ -130,7 +130,6 @@ if TYPE_CHECKING: from .cache_key import _CacheKeyTraversalType from .compiler import SQLCompiler from .dml import Delete - from .dml import Insert from .dml import Update from .elements import KeyedColumnElement from .elements import Label @@ -3000,8 +2999,8 @@ class TableClause(roles.DMLTableRole, Immutable, NamedFromClause): c.table = self @util.preload_module("sqlalchemy.sql.dml") - def insert(self) -> Insert: - """Generate an :func:`_expression.insert` construct against this + def insert(self) -> util.preloaded.sql_dml.Insert: + """Generate an :class:`_sql.Insert` construct against this :class:`_expression.TableClause`. E.g.:: |