]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- add documentation that describes, then proceeds to warn about
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 19 Nov 2015 20:24:22 +0000 (15:24 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 19 Nov 2015 20:27:01 +0000 (15:27 -0500)
commit423697dea60cac0daea05c30ed8fd24cc3571479
tree8dca0b4ea61d5b93703730c2a59c57cda62034ef
parent29d6f6e19b014bb5ce79032bd8803e32b4da0e5e
- add documentation that describes, then proceeds to warn about
the many caveats and confusing effects of, the popular approach
of using contains_eager() to alter the natural result of a
related collection.  I'm not a fan of this technique as it changes
the semantics of a relationship in such a way that the rest of the
ORM isn't aware of and it also can be undone very easily; hence the
section needs as much text for warnings as for describing the
technique itself.   fixes #3563

(cherry picked from commit 1dc805dd4d902b9204703f0bd6151c58f1f287af)
doc/build/orm/loading_relationships.rst