]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
clarify that with_loader_criteria does not affect contains_eager()
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 14 Oct 2021 22:24:26 +0000 (18:24 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 14 Oct 2021 22:24:26 +0000 (18:24 -0400)
commitfec2b6560c14bb28ee7fc9d21028844acf700b04
tree7211a8cfffce536df80963b8bdc8996b7b09213f
parentbb15021a13816d5c54a5e46013ac55fdc38555f6
clarify that with_loader_criteria does not affect contains_eager()

The ORM contains_eager() option does not affect the rendering
of a SQL query in any way except that it adds additional columns
to the columns clause of the SELECT. Therefore the
with_loader_criteria() function has no interaction with this
loader option.

Fixes: #7189
Change-Id: I2e5439746de92382615b652c0e0801b6e48210c8
lib/sqlalchemy/orm/util.py