Add space

This commit is contained in:
Raymond Feng 2014-06-18 22:29:34 -07:00
parent 7d6f0f5ab9
commit b4a45603cb
1 changed files with 1 additions and 1 deletions

View File

@ -419,7 +419,7 @@ SqlConnector.prototype.update =
var whereClause = buildWhere(this, model, where);
var sql = 'UPDATE ' + this.tableEscaped(model) + ' SET ' +
this.toFields(model, data) + whereClause;
this.toFields(model, data) + ' ' + whereClause;
this.query(sql, function (err, result) {
if (callback) {