Skip to content

Commit

Permalink
Merge pull request #1803 from kevindong/master
Browse files Browse the repository at this point in the history
Add note on needing the Pagination plugin to use fetchPage()
  • Loading branch information
ricardograca committed Apr 3, 2018
2 parents 3508288 + de5410d commit 2cd4755
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/plugins/pagination.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ const DEFAULT_PAGE = 1;
module.exports = function paginationPlugin (bookshelf) {
const Model = bookshelf.Model;
/**
* In order to use this function, you must have the {@link
* https://github.com/bookshelf/bookshelf/wiki/Plugin:-Pagination Pagination}
* plugin installed.
*
* @method Model#fetchPage
* @belongsTo Model
*
Expand Down

0 comments on commit 2cd4755

Please sign in to comment.