Comparing version 0.2.6 to 0.2.7
@@ -339,2 +339,14 @@ /** | ||
} | ||
if(k === 'or') { | ||
var arrcond = []; | ||
Object.keys(cond).forEach(function(k2){ | ||
var nval = {}; | ||
nval[k2] = cond[k2] | ||
arrcond.push(nval); | ||
}); | ||
query['$or'] = arrcond; | ||
return; | ||
} | ||
if (cond && cond.constructor.name === 'Object') { | ||
@@ -341,0 +353,0 @@ spec = Object.keys(cond)[0]; |
{ | ||
"name": "caminte", | ||
"description": "ORM for every database: redis, mysql, neo4j, mongodb, rethinkdb, postgres, sqlite, tingodb", | ||
"version": "0.2.6", | ||
"version": "0.2.7", | ||
"author": { | ||
@@ -6,0 +6,0 @@ "name": "Aleksej Gordejev", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
699360
13807