diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2010-02-05 15:49:02 +0000 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2010-02-05 15:49:02 +0000 |
commit | a4a38a982aa04f3d08e662c50e55be23cefcc492 (patch) | |
tree | 3f665714d23871466fe6c76566fa8dd1ffa808d2 /lib/sqlalchemy/sql/compiler.py | |
parent | dfbb1fc148fa784000dfee43a194d3f8d40a0ae2 (diff) | |
download | sqlalchemy-a4a38a982aa04f3d08e662c50e55be23cefcc492.tar.gz |
- Added math negation operator support, -x.
Diffstat (limited to 'lib/sqlalchemy/sql/compiler.py')
-rw-r--r-- | lib/sqlalchemy/sql/compiler.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/sqlalchemy/sql/compiler.py b/lib/sqlalchemy/sql/compiler.py index e635e20e1..4486c24db 100644 --- a/lib/sqlalchemy/sql/compiler.py +++ b/lib/sqlalchemy/sql/compiler.py @@ -73,6 +73,7 @@ OPERATORS = { # end Py2K operators.mod : ' % ', operators.truediv : ' / ', + operators.neg : '-', operators.lt : ' < ', operators.le : ' <= ', operators.ne : ' != ', |