]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
fixed "DISTINCT" spelling
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 28 Mar 2006 02:04:32 +0000 (02:04 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 28 Mar 2006 02:04:32 +0000 (02:04 +0000)
lib/sqlalchemy/sql.py

index 6116a44e152e25a60e938724bf991f7648bf1d43..86c538f27780774c38ede458aa30c86360a4cfed 100644 (file)
@@ -491,7 +491,7 @@ class CompareMixin(object):
     def label(self, name):
         return Label(name, self)
     def distinct(self):
-        return CompoundClause(None,"DISTNCT", self)
+        return CompoundClause(None,"DISTINCT", self)
     def op(self, operator):
         return lambda other: self._compare(operator, other)
     # and here come the math operators: