diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2006-05-05 17:45:06 +0000 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2006-05-05 17:45:06 +0000 |
commit | a454f2e87da26226cad7e7089abed7ca152cc329 (patch) | |
tree | 1fe6194ca80c244eda7d2435fe7cb60e5fcd6d61 /lib/sqlalchemy/sql.py | |
parent | 6c89f97e45baf5cbda183f0fdda4135545d0ffbc (diff) | |
download | sqlalchemy-a454f2e87da26226cad7e7089abed7ca152cc329.tar.gz |
added __mod__ typerel_0_1_7
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): |