summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/sql/dml.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2023-04-23 13:22:02 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2023-04-23 13:22:35 -0400
commita7d1fd197c02a3d7101db98070926e0b096882d3 (patch)
treeae24c0aaf7ce4fc7ac5a273ec25b341eef41a1ae /lib/sqlalchemy/sql/dml.py
parent5347efa35e3e80c8092501b4adfe1278260d67f5 (diff)
downloadsqlalchemy-sphinx_mini_build.tar.gz
remove theme altogethersphinx_mini_build
Change-Id: Iaa5d1ac26007451c09d6982c06d8ad6ed22d30bc
Diffstat (limited to 'lib/sqlalchemy/sql/dml.py')
-rw-r--r--lib/sqlalchemy/sql/dml.py12
1 files changed, 0 insertions, 12 deletions
diff --git a/lib/sqlalchemy/sql/dml.py b/lib/sqlalchemy/sql/dml.py
index 2ea3b3b34..1a7b7f21d 100644
--- a/lib/sqlalchemy/sql/dml.py
+++ b/lib/sqlalchemy/sql/dml.py
@@ -461,18 +461,6 @@ class UpdateBase(
of fetching server-side expressions and defaults, for supporting
backends only.
- .. deepalchemy::
-
- The :meth:`.UpdateBase.return_defaults` method is used by the ORM
- for its internal work in fetching newly generated primary key
- and server default values, in particular to provide the underyling
- implementation of the :paramref:`_orm.Mapper.eager_defaults`
- ORM feature as well as to allow RETURNING support with bulk
- ORM inserts. Its behavior is fairly idiosyncratic
- and is not really intended for general use. End users should
- stick with using :meth:`.UpdateBase.returning` in order to
- add RETURNING clauses to their INSERT, UPDATE and DELETE
- statements.
Normally, a single row INSERT statement will automatically populate the
:attr:`.CursorResult.inserted_primary_key` attribute when executed,