count is integer, thanks Osman Masood

This commit is contained in:
mdipierro
2012-08-15 09:06:36 -05:00
parent 5145272415
commit 91c88d56eb
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1 +1 @@
Version 2.00.0 (2012-08-14 20:37:43) dev
Version 2.00.0 (2012-08-15 09:06:31) dev
+1 -1
View File
@@ -8309,7 +8309,7 @@ class Field(Expression):
return (value, None)
def count(self, distinct=None):
return Expression(self.db, self.db._adapter.COUNT, self, distinct, self.type)
return Expression(self.db, self.db._adapter.COUNT, self, distinct, 'integer')
def __nonzero__(self):
return True