fixed GAE contains,issue 874, thanks Howesc
This commit is contained in:
2
VERSION
2
VERSION
@@ -1 +1 @@
|
||||
Version 2.00.0 (2012-07-04 19:22:37) dev
|
||||
Version 2.00.0 (2012-07-04 22:47:22) dev
|
||||
|
||||
@@ -4104,7 +4104,7 @@ class GoogleDatastoreAdapter(NoSQLAdapter):
|
||||
def CONTAINS(self,first,second):
|
||||
if not first.type.startswith('list:'):
|
||||
raise SyntaxError, "Not supported"
|
||||
return [GAEF(first.name,'=',self.expand(second,first.type[5:]),lambda a,b:a in b)]
|
||||
return [GAEF(first.name,'=',self.expand(second,first.type[5:]),lambda a,b:b in a)]
|
||||
|
||||
def NOT(self,first):
|
||||
nops = { self.EQ: self.NE,
|
||||
|
||||
Reference in New Issue
Block a user