summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/sql/operators.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2013-02-02 20:48:53 -0500
committerMike Bayer <mike_mp@zzzcomputing.com>2013-02-02 20:48:53 -0500
commitf4f3c56cd31a30e87f17148f3d4d17832c12b110 (patch)
tree59ce5fda2013bf87829daa89fc2e33bca7c513f9 /lib/sqlalchemy/sql/operators.py
parentaf44efe26e3f703ca1c30e79ee68428eed35abcf (diff)
downloadsqlalchemy-f4f3c56cd31a30e87f17148f3d4d17832c12b110.tar.gz
Fixed the consideration of the ``between()`` operator
so that it works correctly with the new relationship local/remote system. [ticket:1768]
Diffstat (limited to 'lib/sqlalchemy/sql/operators.py')
-rw-r--r--lib/sqlalchemy/sql/operators.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqlalchemy/sql/operators.py b/lib/sqlalchemy/sql/operators.py
index 10d01acd6..a7e6af116 100644
--- a/lib/sqlalchemy/sql/operators.py
+++ b/lib/sqlalchemy/sql/operators.py
@@ -758,7 +758,7 @@ def nullslast_op(a):
_commutative = set([eq, ne, add, mul])
-_comparison = set([eq, ne, lt, gt, ge, le])
+_comparison = set([eq, ne, lt, gt, ge, le, between_op])
def is_comparison(op):