From f4f3c56cd31a30e87f17148f3d4d17832c12b110 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Sat, 2 Feb 2013 20:48:53 -0500 Subject: Fixed the consideration of the ``between()`` operator so that it works correctly with the new relationship local/remote system. [ticket:1768] --- lib/sqlalchemy/sql/operators.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/sqlalchemy/sql') 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): -- cgit v1.2.1