sequelize-paginate
sequelize-paginate copied to clipboard
Sequelize model plugin for add paginate method
Improvement for issues #50 #53 .
Thanks for making this library! I've found it super useful :) Here's my use case: A user clicks to a video in the middle of a playlist of thousands of...
Basically I need the pagination to still work just like when using .findAll However the query behaved erratically when using .paginate instead (The joins are moved over subquery, ordering options...
How can I use this package with TS? Thanks.
When a query has an include with a where condition, the result set matches the query but the total record count includes all available records. ``` let articles = Articles.paginate({...
This PR adds a "keepAttrs" option, making possible to conserve one or several attributes include in the count query. I can be useful when your select query contains a HAVING...
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | |---|---| | moment-timezone | [`0.5.33` -> `0.5.35`](https://renovatebot.com/diffs/npm/moment-timezone/0.5.33/0.5.35) | ### GitHub Vulnerability Alerts #### [GHSA-v78c-4p63-2j6c](https://togithub.com/moment/moment-timezone/security/advisories/GHSA-v78c-4p63-2j6c) ### Impact *...
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [sequelize](https://sequelize.org/) ([source](https://togithub.com/sequelize/sequelize)) | [`5.22.4` -> `6.29.0`](https://renovatebot.com/diffs/npm/sequelize/5.22.4/6.29.0) | [](https://docs.renovatebot.com/merge-confidence/) |...
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@types/sequelize](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/sequelize) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/sequelize)) | [`4.28.9` -> `4.28.20`](https://renovatebot.com/diffs/npm/@types%2fsequelize/4.28.9/4.28.20) | [](https://docs.renovatebot.com/merge-confidence/) |...
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@commitlint/cli](https://commitlint.js.org/) ([source](https://togithub.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/cli)) | [`8.3.5` -> `8.3.6`](https://renovatebot.com/diffs/npm/@commitlint%2fcli/8.3.5/8.3.6) | [](https://docs.renovatebot.com/merge-confidence/) |...