We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed073fb commit ffd2f52Copy full SHA for ffd2f52
index.js
@@ -787,9 +787,8 @@ var Base = Class.extend({
787
*/
788
remove: function (table, ids, callback) {
789
var sql = 'DELETE FROM ' + this._escapeDDL + table + this._escapeDDL;
790
- var searchClause = '';
791
792
- return this.runSql(sql + this.buildWhereClause(ids)).nodeify(callback);
+ return this.runSql(sql + ' ' + this.buildWhereClause(ids)).nodeify(callback);
793
},
794
795
/**
0 commit comments