]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Repair _orm_columns() to accommodate text()
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 5 May 2016 21:07:40 +0000 (17:07 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 5 May 2016 21:07:40 +0000 (17:07 -0400)
commit9bdd6f2b1f6b34a82b77849ec05811aa0279931d
treebbc05c15814ce57189a30e619a846e0ab544a430
parentf1920d2713fc43cfa7089e7bd5592908e90fd69b
Repair _orm_columns() to accommodate text()

Fixed bug whereby passing a :func:`.text` construct to the
:meth:`.Query.group_by` method would raise an error, instead
of intepreting the object as a SQL fragment.

Change-Id: I5fc2f590b76508d52e23b5fa9cf037ddea8080c3
fixes: #3706
doc/build/changelog/changelog_10.rst
lib/sqlalchemy/orm/base.py
lib/sqlalchemy/sql/elements.py
test/orm/test_query.py