EraCode practice

Fast counts: avoid extra JOIN work with `subQuery: false`

SequelizeintermediateMulti-Part

Summary

Practice a small Sequelize optimization: make `findAndCountAll` generate a leaner count query when you have includes that can inflate work.

Problem preview

### Goal Optimize a paginated listing query so the **count query does less work**. - You have a model with a many-to-many association. - Implement the single missing option so avoids the subquery wra…

Attempt this challenge

Sign in to attempt the full challenge with timed AI grading, hints, and test feedback.