summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Bank <sebastian.bank@uni-leipzig.de>2016-03-15 17:17:45 +0100
committerSebastian Bank <sebastian.bank@uni-leipzig.de>2016-03-15 17:17:45 +0100
commit05f2517d696f60a7ec4a4da655521f8be74db775 (patch)
tree7af567631493ff0982ca87af140b350f6569baa6
parent1f45a33f96ae4e25524dd1843c90e583864b0238 (diff)
downloadsqlalchemy-pr/248.tar.gz
add doctstring note on sqlite fallback to ISpr/248
-rw-r--r--lib/sqlalchemy/sql/operators.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/sqlalchemy/sql/operators.py b/lib/sqlalchemy/sql/operators.py
index 578f87c2c..9eca7e781 100644
--- a/lib/sqlalchemy/sql/operators.py
+++ b/lib/sqlalchemy/sql/operators.py
@@ -314,7 +314,8 @@ class ColumnOperators(Operators):
def is_distinct_from(self, other):
"""Implement the ``IS DISTINCT FROM`` operator.
-
+ On databases where the ``IS`` operator supplies the
+ same functionality, e.g. sqlite, produces ``IS NOT``.
"""
return self.operate(is_distinct_from, other)
@@ -322,7 +323,8 @@ class ColumnOperators(Operators):
def isnot_distinct_from(self, other):
"""Implement the ``IS NOT DISTINCT FROM`` operator.
-
+ On databases where the ``IS`` operator supplies the
+ same functionality, e.g. sqlite, produces ``IS``.
"""
return self.operate(isnot_distinct_from, other)