]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Add more docs for populate_existing(); link with_for_update
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 10 Sep 2020 15:56:34 +0000 (11:56 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 10 Sep 2020 16:15:16 +0000 (12:15 -0400)
commite78c8f84958a031056684d7056aff0eab6ced226
treef4245aa064b896cf061e755fe085360c365a7149
parent5ed90cb05a1526c854e3e8f84a5c29d0379bfa95
Add more docs for populate_existing(); link with_for_update

The populate_existing() method is actually changing
to be an execution option, however it has almost no
mention in the narrative docs so add docs in terms of the
1.x version first, including that we mention you almost
definitely want to use this method if you are also using
with_for_update().

Fixes: #5572
Fixes: #4774
Change-Id: Ieca916400622c1ffc1ae81204132a02a0983594c
doc/build/faq/sessions.rst
doc/build/orm/session_basics.rst
doc/build/orm/session_state_management.rst
lib/sqlalchemy/orm/query.py
lib/sqlalchemy/orm/session.py