diff options
Diffstat (limited to 'lib/sqlalchemy/sql/operators.py')
-rw-r--r-- | lib/sqlalchemy/sql/operators.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/sqlalchemy/sql/operators.py b/lib/sqlalchemy/sql/operators.py index cf8aeb71d..78159697b 100644 --- a/lib/sqlalchemy/sql/operators.py +++ b/lib/sqlalchemy/sql/operators.py @@ -51,6 +51,9 @@ def startswith_op(a, b): def endswith_op(a, b): return a.endswith(b) +def contains_op(a, b): + return a.contains(b) + def comma_op(a, b): raise NotImplementedError() |