diff options
Diffstat (limited to 'lib/sqlalchemy/sql.py')
-rw-r--r-- | lib/sqlalchemy/sql.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/sqlalchemy/sql.py b/lib/sqlalchemy/sql.py index a6908a1b9..8c10a44d9 100644 --- a/lib/sqlalchemy/sql.py +++ b/lib/sqlalchemy/sql.py @@ -531,6 +531,8 @@ class CompareMixin(object): return self._operate('*', other) def __div__(self, other): return self._operate('/', other) + def __mod__(self, other): + return self._operate('%', other) def __truediv__(self, other): return self._operate('/', other) def _bind_param(self, obj): |