]> 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:01:53 +0000 (16:01 -0400)
commit9f6b67a37e820b9a5be54301d08f20161bd20ee8
treeabdd6a5e6a9d9bbe1a3440f222c5558f948ddf9e
parentff61aac66aa8e3dde691be78b247205f0f2cc079
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
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