]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- added "fold_equivalents" argument to Join.select(), which removes
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 2 Mar 2007 21:22:14 +0000 (21:22 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 2 Mar 2007 21:22:14 +0000 (21:22 +0000)
commit2a77850707db1dc71bd069be04b049cc52af8983
treeda3aebcd2d59de3c025b785f2c703b513255953f
parent7e2ae824a56c760286e33adce03324b8e696472a
- added "fold_equivalents" argument to Join.select(), which removes
'duplicate' columns from the resulting column clause that are known to be
equivalent based on the join condition.  this is of great usage when
constructing subqueries of joins which Postgres complains about if
duplicate column names are present.
- added support to polymorphic stuff for more than one "equivalent column",
when trying to target columns in the polymorphic union; this applies
to multi-leveled inheritance
- put above-two concepts together to get the abc_inheritance tests to work
with postgres
CHANGES
doc/build/content/sqlconstruction.txt
lib/sqlalchemy/orm/mapper.py
lib/sqlalchemy/orm/properties.py
lib/sqlalchemy/sql.py
lib/sqlalchemy/sql_util.py
test/orm/abc_inheritance.py
test/orm/inheritance5.py