fixed issue 1000, broken GAE belongs for field id, thanks Alan
This commit is contained in:
2
VERSION
2
VERSION
@@ -1 +1 @@
|
||||
Version 2.0.8 (2012-09-12 11:08:28) stable
|
||||
Version 2.0.8 (2012-09-12 11:10:55) stable
|
||||
|
||||
@@ -4349,7 +4349,7 @@ class GoogleDatastoreAdapter(NoSQLAdapter):
|
||||
if first.type != 'id':
|
||||
return [GAEF(first.name,'in',self.represent(second,first.type),lambda a,b:a in b)]
|
||||
else:
|
||||
second = [Key.from_path(first._tablename, i) for i in second]
|
||||
second = [Key.from_path(first._tablename, int(i)) for i in second]
|
||||
return [GAEF(first.name,'in',second,lambda a,b:a in b)]
|
||||
|
||||
def CONTAINS(self,first,second):
|
||||
|
||||
Reference in New Issue
Block a user