diff --git a/lib/adapters/mongoose.js b/lib/adapters/mongoose.js index 8c83df43..0f4f69d9 100644 --- a/lib/adapters/mongoose.js +++ b/lib/adapters/mongoose.js @@ -145,6 +145,8 @@ MongooseAdapter.prototype.all = function all(model, filter, callback) { } if (filter.skip) { query.skip(filter.skip); + } else if (filter.offset) { + query.skip(filter.offset); } query.exec(function (err, data) { if (err) return callback(err);