From ffd2f5241050db3494db6e29c10b4cbea78c427e Mon Sep 17 00:00:00 2001 From: "i.badamshin" Date: Thu, 16 May 2019 17:36:15 +0300 Subject: [PATCH] fix(remove): add space before where --- index.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/index.js b/index.js index 00d4bc6..c9c5317 100644 --- a/index.js +++ b/index.js @@ -787,9 +787,8 @@ var Base = Class.extend({ */ remove: function (table, ids, callback) { var sql = 'DELETE FROM ' + this._escapeDDL + table + this._escapeDDL; - var searchClause = ''; - return this.runSql(sql + this.buildWhereClause(ids)).nodeify(callback); + return this.runSql(sql + ' ' + this.buildWhereClause(ids)).nodeify(callback); }, /**