diff options
Diffstat (limited to 'lib/sqlalchemy/sql/operators.py')
-rw-r--r-- | lib/sqlalchemy/sql/operators.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/sqlalchemy/sql/operators.py b/lib/sqlalchemy/sql/operators.py index 13f5e6131..0047d1c73 100644 --- a/lib/sqlalchemy/sql/operators.py +++ b/lib/sqlalchemy/sql/operators.py @@ -49,14 +49,14 @@ def notin_op(a, b): def distinct_op(a): return a.distinct() -def startswith_op(a, b): - return a.startswith(b) +def startswith_op(a, b, escape=None): + return a.startswith(b, escape=escape) -def endswith_op(a, b): - return a.endswith(b) +def endswith_op(a, b, escape=None): + return a.endswith(b, escape=escape) -def contains_op(a, b): - return a.contains(b) +def contains_op(a, b, escape=None): + return a.contains(b, escape=escape) def comma_op(a, b): raise NotImplementedError() |