]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Deliver straight BinaryExpr w/ no negate for any() / all()
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 18 Aug 2020 18:17:06 +0000 (14:17 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 18 Aug 2020 18:19:35 +0000 (14:19 -0400)
commit8b34f3c4bbd21d41bac9884e732e798ff25872b8
treefe9e7a2390e3baf9f3f294a36c70503196908974
parentde6f437f8218edcb55eef0a73758884486682536
Deliver straight BinaryExpr w/ no negate for any() / all()

Adjusted the :meth:`_types.ARRAY.Comparator.any` and
:meth:`_types.ARRAY.Comparator.all` methods to implement a straight "NOT"
operation for negation, rather than negating the comparison operator.

Fixes: #5518
Change-Id: I87ee9278c321aafe51a679fcfcbb5fbb11307fda
(cherry picked from commit 8bc793c4dbc876722dfaad0ca731938c70b54b6c)
doc/build/changelog/unreleased_13/5518.rst [new file with mode: 0644]
lib/sqlalchemy/sql/sqltypes.py
test/dialect/postgresql/test_compiler.py
test/sql/test_operators.py