ee-query-builder
Advanced tools
Comparing version 0.1.8 to 0.1.9
@@ -130,3 +130,4 @@ !function(){ | ||
, _buildUpdateQuery: function(query, parameters) { | ||
var SQLString = 'UPDATE '; | ||
var SQLString = 'UPDATE ' | ||
, updates = []; | ||
@@ -140,5 +141,7 @@ // from | ||
parameters[id] = query.values[key]; | ||
SQLString += this._escapeId(key)+' = ?'+id+' '; | ||
updates.push(this._escapeId(key)+' = ?'+id); | ||
}.bind(this)); | ||
SQLString += updates.join(', ') +' '; | ||
// render filter (where statement) | ||
@@ -145,0 +148,0 @@ SQLString += ' WHERE ' + (this._renderFilter(parameters, query.filter || {}) || 1); |
{ | ||
"name" : "ee-query-builder" | ||
, "description" : "query builder for ee-orm" | ||
, "version" : "0.1.8" | ||
, "version" : "0.1.9" | ||
, "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
16853
384