diff --git a/lib/sql.js b/lib/sql.js index e90634b..d9848ec 100644 --- a/lib/sql.js +++ b/lib/sql.js @@ -1069,10 +1069,6 @@ SQLConnector.prototype.all = function find(model, filter, options, cb) { return self.fromRow(model, obj); }); if (filter && filter.include) { - if(filter.where) { - options.filterWhere = filter.where; - } - self.getModelDefinition(model).model.include( objs, filter.include, options, cb); } else {