ee-query-builder
Advanced tools
Comparing version 0.2.2 to 0.2.3
@@ -44,5 +44,7 @@ !function(){ | ||
else { | ||
return ' IN (' +values.map(function(value) { | ||
return this._escape(value); | ||
}.bind(this)).join(', ') +')'; | ||
if (values.length) { | ||
return ' IN (' +values.map(function(value) { | ||
return this._escape(value); | ||
}.bind(this)).join(', ') +')'; | ||
} else return ' 1' | ||
} | ||
@@ -62,5 +64,7 @@ //} | ||
else { | ||
return ' NOT IN (' +values.map(function(value){ | ||
return this._escape(value); | ||
}.bind(this)).join(', ') +')'; | ||
if (values.length) { | ||
return ' NOT IN (' +values.map(function(value){ | ||
return this._escape(value); | ||
}.bind(this)).join(', ') +')'; | ||
} else return ' 1' | ||
} | ||
@@ -67,0 +71,0 @@ } |
{ | ||
"name" : "ee-query-builder" | ||
, "description" : "query builder for ee-orm" | ||
, "version" : "0.2.2" | ||
, "version" : "0.2.3" | ||
, "homepage" : "https://github.com/eventEmitter/ee-query-builder" | ||
@@ -6,0 +6,0 @@ , "author" : "Michael van der Weg <michael@eventemitter.com> (http://eventemitter.com/)" |
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
21616
497