]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- The behavior of the :func:`.union` construct and related constructs
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 12 Aug 2015 18:26:11 +0000 (14:26 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 12 Aug 2015 18:26:11 +0000 (14:26 -0400)
commit88749550f6b973efaa09b9571176dbb65c45574d
tree67980cd0c1d7764231c7c545f9595bd9e0563f99
parent5198b1de31029cc985102cd13569086a7056c2f1
- The behavior of the :func:`.union` construct and related constructs
such as :meth:`.Query.union` now handle the case where the embedded
SELECT statements need to be parenthesized due to the fact that they
include LIMIT, OFFSET and/or ORDER BY.   These queries **do not work
on SQLite**, and will fail on that backend as they did before, but
should now work on all other backends.
fixes #2528
doc/build/changelog/changelog_11.rst
doc/build/changelog/migration_11.rst
lib/sqlalchemy/sql/selectable.py
lib/sqlalchemy/testing/requirements.py
lib/sqlalchemy/testing/suite/test_select.py
test/requirements.py
test/sql/test_compiler.py
test/sql/test_selectable.py