summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/sql/operators.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sqlalchemy/sql/operators.py')
-rw-r--r--lib/sqlalchemy/sql/operators.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/sqlalchemy/sql/operators.py b/lib/sqlalchemy/sql/operators.py
index 0047d1c73..dfd638ecb 100644
--- a/lib/sqlalchemy/sql/operators.py
+++ b/lib/sqlalchemy/sql/operators.py
@@ -22,6 +22,9 @@ def is_():
def isnot():
raise NotImplementedError()
+def collate():
+ raise NotImplementedError()
+
def op(a, opstring, b):
return a.op(opstring)(b)
@@ -105,6 +108,7 @@ _PRECEDENCE = {
and_:3,
or_:2,
comma_op:-1,
+ collate: -2,
as_:-1,
exists:0,
_smallest: -1000,