Hi again.... I have a N:N relation, and use an table to receive this relation.... groups an view are my sources rel_group_view is the relation between groups and view but, if i delete a group, sequelize don't remove his relation at rel-group-view here is my models. https://gist.github.com/kylefelipe/1e3a23b9ae4298b977252f9bfd648638
Всем привет. Всю голову себе сломал, инфы не нашел. Есть M:M ассоциация. Из сквозной таблицы нужно вытащить параметр и сделать count. Как до него можно достучаться и применить к нему агрегатную функцию? Структура запроса такая: