You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This line makes sequelize to use primary key instead of * while options.col is not defined in model beforeCount hook. That causes count on the first primary key which leads to unexpected result. I think it should be documented somewhere.