]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- The RowTuple object returned by Query(*cols) now
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 5 Aug 2008 20:15:28 +0000 (20:15 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 5 Aug 2008 20:15:28 +0000 (20:15 +0000)
commit4cd1902796546d5d2b2927c8e2afbcb00459341f
treeb4fd7dc33bdb6c55c2380720d5fb172c154aec0c
parent3c26d5700385ac2e72e01efe2531b126f4292eee
- The RowTuple object returned by Query(*cols) now
features keynames which prefer mapped attribute
names over column keys, column keys over
column names, i.e.
Query(Class.foo, Class.bar) will have names
"foo" and "bar" even if those are not the names
of the underlying Column objects.  Direct
Column objects such as Query(table.c.col) will
return the "key" attribute of the Column.
CHANGES
VERSION
lib/sqlalchemy/orm/query.py
test/orm/inheritance/query.py
test/orm/inheritance/single.py
test/orm/query.py