]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
favor bool_op over op in comparison
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 18 May 2022 20:21:49 +0000 (16:21 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 18 May 2022 20:21:49 +0000 (16:21 -0400)
commitdeb9bcc0d97dd8b38dfccb340a5fc1f880202ff6
treed7fd735132e8686f60ff811612f019f4bbf9404d
parent9e7bed9df601ead02fd96bf2fc787b23b536d2d6
favor bool_op over op in comparison

there's no need to use the is_comparison parameter
anymore as bool_op() works better and in 2.0 also does
typing correctly.

Change-Id: I9e92b665b112d40d90e539003b0efe00ed7b075f
doc/build/orm/join_conditions.rst
lib/sqlalchemy/sql/operators.py
test/orm/test_relationships.py