diff options
author | Jason Kirtland <jek@discorporate.us> | 2008-04-16 00:53:21 +0000 |
---|---|---|
committer | Jason Kirtland <jek@discorporate.us> | 2008-04-16 00:53:21 +0000 |
commit | 24797113708c0f19ef0d5d81e2950b33f8c1a425 (patch) | |
tree | 7e44582f775579cf40679112a2611e1bbab84d87 /lib/sqlalchemy/sql/compiler.py | |
parent | f5126ab3a169b6f8a9171868fe32b2bd385f8b8f (diff) | |
download | sqlalchemy-24797113708c0f19ef0d5d81e2950b33f8c1a425.tar.gz |
- Support for COLLATE: collate(expr, col) and expr.collate(col)
Diffstat (limited to 'lib/sqlalchemy/sql/compiler.py')
-rw-r--r-- | lib/sqlalchemy/sql/compiler.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/sqlalchemy/sql/compiler.py b/lib/sqlalchemy/sql/compiler.py index 47e5ec9c5..1fe9ef062 100644 --- a/lib/sqlalchemy/sql/compiler.py +++ b/lib/sqlalchemy/sql/compiler.py @@ -90,7 +90,8 @@ OPERATORS = { operators.as_ : 'AS', operators.exists : 'EXISTS', operators.is_ : 'IS', - operators.isnot : 'IS NOT' + operators.isnot : 'IS NOT', + operators.collate : 'COLLATE', } FUNCTIONS = { |