Add space
This commit is contained in:
parent
7d6f0f5ab9
commit
b4a45603cb
|
@ -419,7 +419,7 @@ SqlConnector.prototype.update =
|
||||||
var whereClause = buildWhere(this, model, where);
|
var whereClause = buildWhere(this, model, where);
|
||||||
|
|
||||||
var sql = 'UPDATE ' + this.tableEscaped(model) + ' SET ' +
|
var sql = 'UPDATE ' + this.tableEscaped(model) + ' SET ' +
|
||||||
this.toFields(model, data) + whereClause;
|
this.toFields(model, data) + ' ' + whereClause;
|
||||||
|
|
||||||
this.query(sql, function (err, result) {
|
this.query(sql, function (err, result) {
|
||||||
if (callback) {
|
if (callback) {
|
||||||
|
|
Loading…
Reference in New Issue