]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- specifying joins in the from_obj argument of query.select() will
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 27 Sep 2006 07:08:26 +0000 (07:08 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 27 Sep 2006 07:08:26 +0000 (07:08 +0000)
commita81bd92d6ebef5053cbb6882b336c50c1134c273
tree6d9df595eedaa29794e7a02122f79cc3cf73b1c9
parentdf9c1a10b568cb89aec41fcb0c7c31a1ae75943c
- specifying joins in the from_obj argument of query.select() will
replace the main table of the query, if the table is somewhere within
the given from_obj.  this makes it possible to produce custom joins and
outerjoins in queries without the main table getting added twice.
[ticket:315]
- added join_to and outerjoin_to transformative methods to SelectResults,
to build up join/outerjoin conditions based on property names. also
added select_from to explicitly set from_obj parameter.
- factored "results" arrays from the mapper test suite and into the
"tables" mapper
- added "viewonly" param to docs
CHANGES
doc/build/content/adv_datamapping.txt
lib/sqlalchemy/databases/oracle.py
lib/sqlalchemy/ext/selectresults.py
lib/sqlalchemy/orm/query.py
test/ext/selectresults.py
test/orm/mapper.py
test/tables.py
test/testbase.py