]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Fixes: #4100
authorjonathan vanasco <jonathan@2xlp.com>
Fri, 24 Sep 2021 18:55:59 +0000 (14:55 -0400)
committerJonathan Vanasco <jonathan@2xlp.com>
Tue, 26 Oct 2021 16:42:06 +0000 (16:42 +0000)
commitf3e0bef712da7a40ead247994413b36e5e3dd97b
tree2f038f1efbff361eac417e92c48451cf3a7dd546
parent7cf3e79991b3d00d53bfb98cfdab267b67a5cdda
Fixes: #4100
Add a warning, in two places, stating `with_for_update` will lock joinedload
tables, because at least one person did not expect the obvious to happen.

Also warn that eager loading techniques may not work with `with_for_update`
and combining the two is not officially supported or recommended.

Change-Id: Iedd609b56b3144d90a90fc2eea3cf5335a2d178a
doc/build/orm/loading_relationships.rst
lib/sqlalchemy/orm/query.py