fixed typo

This commit is contained in:
mdipierro
2013-11-16 11:52:18 -06:00
parent d35321c6c6
commit a91570768e
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -1 +1 @@
Version 2.7.4-stable+timestamp.2013.11.16.04.09.31
Version 2.7.4-stable+timestamp.2013.11.16.11.51.18
+3 -3
View File
@@ -5875,12 +5875,12 @@ class MongoDBAdapter(NoSQLAdapter):
return {'$not': self.expand(first)}
def AND(self,first,second):
# pymongo expects: .find({'$or': [{'name':'1'}, {'name':'2'}]})
return {'$and': [self.expand(first),self.expend(second)]}
# pymongo expects: .find({'$and': [{'x':'1'}, {'y':'2'}]})
return {'$and': [self.expand(first),self.expand(second)]}
def OR(self,first,second):
# pymongo expects: .find({'$or': [{'name':'1'}, {'name':'2'}]})
return {'$or': [self.expand(first),self.expend(second)]}
return {'$or': [self.expand(first),self.expand(second)]}
def BELONGS(self, first, second):
if isinstance(second, str):