]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Consider aliased=True, from_joinpoint as legacy
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 4 May 2020 19:48:48 +0000 (15:48 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 4 May 2020 20:04:16 +0000 (16:04 -0400)
commitd5086c4f58a0cc09c28fc958d5c5e41d7e5acdbd
tree27bdf99ab1194b265b7d59a56a11bf7e051a9d6c
parent67b878720e3556e37fb24208d95fc9d97d7f6b67
Consider aliased=True, from_joinpoint as legacy

For a 1.4 / 1.3 merge, rewrite the documentation for
Query.join() to indicate calling forms that are now considered
legacy, including the use of strings in join(), sending a
series of join paths in one call, and using the aliased=True
flag.   update the elementtree examples as well to use aliased()
(they are much simpler to understand this way too) and update
other links.

Also improve docs for aliased() and some other ORM targets
such as PropComparator.

Change-Id: I636e3a9130dc5509e51c2cf60a52f38fcadffbc6
References: #4705
(cherry picked from commit 9f6b67a37e820b9a5be54301d08f20161bd20ee8)
doc/build/conf.py
doc/build/orm/internals.rst
doc/build/orm/self_referential.rst
doc/build/orm/tutorial.rst
examples/elementtree/adjacency_list.py
examples/elementtree/optimized_al.py
lib/sqlalchemy/orm/query.py
lib/sqlalchemy/orm/util.py