Skip to content

Commit 6d8a7f8

Browse files
fix(remove): add space before where
Signed-off-by: i.badamshin <[email protected]>
1 parent 9e1b80b commit 6d8a7f8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

index.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -787,9 +787,8 @@ var Base = Class.extend({
787787
*/
788788
remove: function (table, ids, callback) {
789789
var sql = 'DELETE FROM ' + this._escapeDDL + table + this._escapeDDL;
790-
var searchClause = '';
791790

792-
return this.runSql(sql + this.buildWhereClause(ids)).nodeify(callback);
791+
return this.runSql(sql + ' ' + this.buildWhereClause(ids)).nodeify(callback);
793792
},
794793

795794
/**

0 commit comments

Comments
 (0)