]> 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:18:02 +0000 (14:18 -0400)
commit8bc793c4dbc876722dfaad0ca731938c70b54b6c
tree3c3ffd8f5df8b2dabaa4c24b2f924e4ed51338a9
parent7277c12e4d1bdc9647b9b306d89b5847d1c5a4d7
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
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