]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Use exprs for bundle __clause_element__
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 13 Jul 2018 16:58:21 +0000 (12:58 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 13 Jul 2018 22:56:38 +0000 (18:56 -0400)
commit7643e4f037fe254241c42a816a171921ce73c660
treefcf85032d77a458d550aa6af930fac38d2752a42
parent647ff0757c956e85ec0ab63ff27f5aa55dc20953
Use exprs for bundle __clause_element__

Fixed bug in :class:`.Bundle` construct where placing two columns of the
same name would be de-duplicated, when the :class:`.Bundle` were used as
part of the rendered SQL, such as in the ORDER BY or GROUP BY of the statement.

Change-Id: Ia528c9fbb399a6beb5ea7cdd3a8a83ad530f5831
Fixes: #4295
(cherry picked from commit 2fdf26020878edcbaa7792a869b3d45b715cc05a)
doc/build/changelog/unreleased_12/4295.rst [new file with mode: 0644]
lib/sqlalchemy/orm/query.py
test/orm/test_bundle.py