]> 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:22 +0000 (18:56 -0400)
commit2fdf26020878edcbaa7792a869b3d45b715cc05a
treecf2dcd1e6b7e1aa4461090f3924cfe2239362a4c
parent2c44fc22a7e9a4ac69ed6ce9da5551eb2d7cc1a2
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
doc/build/changelog/unreleased_12/4295.rst [new file with mode: 0644]
lib/sqlalchemy/orm/query.py
test/orm/test_bundle.py