]> 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 21:13:15 +0000 (17:13 -0400)
commitc28bccd8964958792e129d82e14630990809689f
tree6e7fc08671deba701770ee5e5245fa671b0f7518
parent9b55a423459236ca8a2ced713c9e93999dd18922
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
(cherry picked from commit deb9bcc0d97dd8b38dfccb340a5fc1f880202ff6)
doc/build/orm/join_conditions.rst
lib/sqlalchemy/sql/operators.py
test/orm/test_relationships.py