Merge pull request #180 from gi0baro/issue1641
Support querying for null values in mongoDB
This commit is contained in:
+1
-1
@@ -5667,7 +5667,7 @@ class MongoDBAdapter(NoSQLAdapter):
|
|||||||
items = [self.expand(item, first.type) for item in second]
|
items = [self.expand(item, first.type) for item in second]
|
||||||
return {self.expand(first) : {"$in" : items} }
|
return {self.expand(first) : {"$in" : items} }
|
||||||
|
|
||||||
def EQ(self,first,second):
|
def EQ(self,first,second=None):
|
||||||
result = {}
|
result = {}
|
||||||
result[self.expand(first)] = self.expand(second)
|
result[self.expand(first)] = self.expand(second)
|
||||||
return result
|
return result
|
||||||
|
|||||||
Reference in New Issue
Block a user