diff --git a/lib/sql.js b/lib/sql.js index b362b4e..0c6b349 100644 --- a/lib/sql.js +++ b/lib/sql.js @@ -299,8 +299,8 @@ function buildWhere(self, model, where) { */ SqlConnector.prototype.deleteAll = SqlConnector.prototype.destroyAll = function destroyAll(model, where, callback) { - this.command('DELETE FROM ' + this.tableEscaped(model) - + buildWhere(this, model, where), function (err, result) { + this.command('DELETE FROM ' + this.tableEscaped(model) + + buildWhere(this, model, where), function (err, result) { if (callback) { callback(err, result); }