Sequelize limit behavior with one-to-many eager loading
When implementing pagination in Sequelize, the limit and offset options are used to control the number of records returned from the database. However, a specific behavior occurs when these options are combined with the include property for one-to-many associations. Because Sequelize generates SQL JOINs for eager loading, the resulting row count includes the