From b4a45603cbb3904f0668b7916d8ec3facf1ae4c3 Mon Sep 17 00:00:00 2001 From: Raymond Feng Date: Wed, 18 Jun 2014 22:29:34 -0700 Subject: [PATCH] Add space --- lib/sql.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/sql.js b/lib/sql.js index 23e9042..b362b4e 100644 --- a/lib/sql.js +++ b/lib/sql.js @@ -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) {