Plugin Pagination Knex
bookshelf.plugin('pagination')
Model
.forge()
.fetchPage({page: 10, pageSize: 20});
// OR
fetchPage({limit: 20, offset: 180});
Duck Duck Go-ogle
bookshelf.plugin('pagination')
Model
.forge()
.fetchPage({page: 10, pageSize: 20});
// OR
fetchPage({limit: 20, offset: 180});