]> 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:08:31 +0000 (17:08 -0400)
commiteb0685e40f758693ac3679bc4c429c8a4177b0eb
treec89b9171cbf1e7d2be2646dafc19f336e40b2014
parent97ccb763a99a305db84372168041be8eb7e45869
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
(cherry picked from commit 9bdd6f2b1f6b34a82b77849ec05811aa0279931d)
doc/build/changelog/changelog_10.rst
lib/sqlalchemy/orm/base.py
lib/sqlalchemy/sql/elements.py
test/orm/test_query.py