]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- Fixed bug in new :class:`.TextAsFrom` construct where :class:`.Column`-
authorMike Bayer <mike_mp@zzzcomputing.com>
Sun, 2 Feb 2014 16:06:08 +0000 (11:06 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sun, 2 Feb 2014 16:06:08 +0000 (11:06 -0500)
commit29de1077b35fb264f4b1727bd1f4987644ff52b7
treebe0c3283a6447f316fcf44b6c1945bead922ec89
parent5b0919f3f5c7678c587858a47e38acd4a5b82f25
- Fixed bug in new :class:`.TextAsFrom` construct where :class:`.Column`-
oriented row lookups were not matching up to the ad-hoc :class:`.ColumnClause`
objects that :class:`.TextAsFrom` generates, thereby making it not
usable as a target in :meth:`.Query.from_statement`.  Also fixed
:meth:`.Query.from_statement` mechanics to not mistake a :class:`.TextAsFrom`
for a :class:`.Select` construct.  This bug is also an 0.9 regression
as the :meth:`.Text.columns` method is called to accommodate the
:paramref:`.text.typemap` argument. [ticket:2932]
doc/build/changelog/changelog_09.rst
lib/sqlalchemy/orm/query.py
lib/sqlalchemy/sql/elements.py
lib/sqlalchemy/sql/selectable.py
test/orm/test_query.py
test/sql/test_query.py