]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Add _negate() to Label to negate inner element
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 21 Apr 2017 17:35:38 +0000 (13:35 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 21 Apr 2017 17:35:38 +0000 (13:35 -0400)
commit920f77e3c17ec43382e60a992dc4dcec2ba173b8
treef1bf8b09a0569a7f3e2c8e1fd35fc63c15bd0930
parentae3ffcf4ea2c131c720a584c29ae66444d929b77
Add _negate() to Label to negate inner element

Fixed the negation of a :class:`.Label` construct so that the
inner element is negated correctly, when the :func:`.not_` modifier
is applied to the labeled expression.

Change-Id: Ia99917b2959bdfbff28689c962b4203911c57b85
Fixes: #3969
doc/build/changelog/changelog_12.rst
lib/sqlalchemy/sql/elements.py
test/sql/test_operators.py