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); }, /**