From: mike bayer Date: Tue, 20 Sep 2016 15:55:19 +0000 (-0400) Subject: Merge "Exclude eq and ne from associative operators" X-Git-Tag: rel_1_1_0~25 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b9a7a74d5e729408fcac86fe2919aa423c59d863;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git Merge "Exclude eq and ne from associative operators" --- b9a7a74d5e729408fcac86fe2919aa423c59d863 diff --cc doc/build/changelog/changelog_11.rst index 3919c6ec6f,4693eda29b..0d6c6b1592 --- a/doc/build/changelog/changelog_11.rst +++ b/doc/build/changelog/changelog_11.rst @@@ -21,17 -21,16 +21,27 @@@ .. 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