I using Sequelize on NestJS (mysql2). I have two models: Categories and Articles. Categories contains Articles. I tried to make a scope to auto calcula
mysql2
scope