zeanium-node
Advanced tools
Comparing version 0.6.7 to 0.6.8
{ | ||
"name": "zeanium-node", | ||
"version": "0.6.7", | ||
"version": "0.6.8", | ||
"description": "Zeanium for Node.js, simple http server and custome your business.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -197,3 +197,2 @@ /** | ||
var _values = [], | ||
_value = null, | ||
_return = ''; | ||
@@ -244,10 +243,9 @@ switch (zn.type(where)){ | ||
zn.each(where, function (value, key){ | ||
_value = __formatSqlValue(value); | ||
if(key.indexOf('&') == -1 && key.indexOf('|') == -1){ | ||
_values.push(key + ' = ' + _value); | ||
_values.push(key + ' = ' + __formatSqlValue(value)); | ||
}else { | ||
if(key.indexOf('&') != -1){ | ||
_values.push(key.replace('&', '') + _value); | ||
_values.push(key.replace('&', '') + value); | ||
}else if (key.indexOf('|') != -1) { | ||
_ors.push(key.replace('|', '') + _value); | ||
_ors.push(key.replace('|', '') + value); | ||
} | ||
@@ -254,0 +252,0 @@ } |
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
249959
5931