]> 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:49:59 +0000 (09:49 -0500)
commit0d76857ee1022f41baffff4091be765deea4e421
treecd92a6ed0db10e186be518eae70c43e5924d072a
parentec15dfc7c76f00b9fc63ae6ec0c78b924fcf8a32
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
doc/build/orm/loading_relationships.rst
lib/sqlalchemy/orm/strategy_options.py