]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
modernize contains_eager() docs
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 2 Dec 2020 14:26:18 +0000 (09:26 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 2 Dec 2020 14:52:12 +0000 (09:52 -0500)
commitafa66740328d0bc011304c51b0352b32ca6aade0
tree8134b0ac44c129ee6e698d5af72420c79c208acd
parent886858985b64970e2248c186afb1a809c9d5ffd1
modernize contains_eager() docs

Along with other loader options that are likely
to require usage of populate_existing(), make sure
contains_eager() documentation makes it absolutely
clear that already-loaded collections are not overwritten.
consolidate contains_eager() documentation into the narrative docs.

Additionally, remove the "arbitrary statements" section, this is
not a useful case and seems to be left over.

Fixes: #5740
Change-Id: I10e320882990f511eefebcc88cfcc2277e553b50
(cherry picked from commit 0d76857ee1022f41baffff4091be765deea4e421)
doc/build/orm/loading_relationships.rst
lib/sqlalchemy/orm/strategy_options.py