]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
Merge "Exclude eq and ne from associative operators"
authormike bayer <mike_mp@zzzcomputing.com>
Tue, 20 Sep 2016 15:55:19 +0000 (11:55 -0400)
committerGerrit Code Review <gerrit2@ln3.zzzcomputing.com>
Tue, 20 Sep 2016 15:55:19 +0000 (11:55 -0400)
1  2 
doc/build/changelog/changelog_11.rst

index 3919c6ec6fe9b4d21a9563d4a427d81bcc868205,4693eda29b4a6256a5d05d1196b2edb34ac346d9..0d6c6b15925cd83e589a8b6ae155fae18cf00497
  .. changelog::
      :version: 1.1.0
  
+     .. change::
+         :tags: bug, sql
+         :tickets: 3799
+         The "eq" and "ne" operators are no longer part of the list of
+         "associative" operators, while they remain considered to be
+         "commutative".  This allows an expression like ``(x == y) == z``
+         to be maintained at the SQL level with parenthesis.  Pull request
+         courtesy John Passaro.
 +    .. change::
 +        :tags: bug, orm
 +        :tickets: 3767
 +
 +        The primaryjoin of a :func:`.relationship` construct can now include
 +        a :func:`.bindparam` object that includes a callable function to
 +        generate values.  Previously, the lazy loader strategy would
 +        be incompatible with this use, and additionally would fail to correctly
 +        detect if the "use_get" criteria should be used if the primary key
 +        were involved with the bound parameter.
 +
      .. change::
          :tags: bug, orm
          :tickets: 3788