Refactor Query Generator Limit/Offset #10331
Labels
P1: important
For issues and PRs.
status: in discussion
For issues and PRs. Community and maintainers are discussing the applicability of the issue.
topic: limit & offset
For issues and PRs. Things that involve queries with limit and/or offset.
type: refactor
For issues and PRs. Things that improve the code readability, maintainability, testability, etc.
What are you doing?
Currently the following code in the abstract query generator should be refactored to conform to eslint rules. However, this brings up the question about the implementation and limitations of limit and offset. I dislike the arbitrary implementation of a static count when the offset is passed without a limit. What are the valid values between the support dialects and their versions?
Related:
Dialect: any
Dialect version: any
Database version: any
Sequelize version: 5
Tested with latest release: N/A
The text was updated successfully, but these errors were encountered: