]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- [bug] Added support for using the .key
authorMike Bayer <mike_mp@zzzcomputing.com>
Sun, 5 Feb 2012 21:58:32 +0000 (16:58 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sun, 5 Feb 2012 21:58:32 +0000 (16:58 -0500)
commit2dbeeff50b7ccc6f47b2816a59f99f051fdabc8c
treec23ba02c34a7fec923bdddd99ff46b670e30bac2
parent28765734826f2619fcfd40f047a5980c3af49010
- [bug] Added support for using the .key
of a Column as a string identifier in a
result set row.   The .key is currently
listed as an "alternate" name for a column,
and is superseded by the name of a column
which has that key value as its regular name.
For the next major release
of SQLAlchemy we may reverse this precedence
so that .key takes precedence, but this
is not decided on yet.  [ticket:2392]
CHANGES
lib/sqlalchemy/sql/compiler.py
lib/sqlalchemy/sql/expression.py
test/sql/test_compiler.py
test/sql/test_query.py
test/sql/test_quote.py
test/sql/test_selectable.py