diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2008-01-19 18:36:52 +0000 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2008-01-19 18:36:52 +0000 |
commit | 840a2fabb8999b4b3807dfa55d771627656ab1db (patch) | |
tree | 5486020ddf87fd932c6fd563a6319eeea8265c6f /lib/sqlalchemy/queue.py | |
parent | 6d486fb2e77e338ac4d45ff5ed45561abb5c81b3 (diff) | |
download | sqlalchemy-840a2fabb8999b4b3807dfa55d771627656ab1db.tar.gz |
- some expression fixup:
- the '.c.' attribute on a selectable now gets an
entry for every column expression in its columns
clause; previously, "unnamed" columns like functions
and CASE statements weren't getting put there. Now
they will, using their full string representation
if no 'name' is available.
- The anonymous 'label' generated for otherwise
unlabeled functions and expressions now propagates
outwards at compile time for expressions like
select([select([func.foo()])])
- a CompositeSelect, i.e. any union(), union_all(),
intersect(), etc. now asserts that each selectable
contains the same number of columns. This conforms
to the corresponding SQL requirement.
- building on the above ideas, CompositeSelects
now build up their ".c." collection based on
the names present in the first selectable only;
corresponding_column() now works fully for all
embedded selectables.
Diffstat (limited to 'lib/sqlalchemy/queue.py')
0 files changed, 0 insertions, 0 deletions