I am looking for group by queries through Sequelize and cannot seem to find any documentation.
group by
SELECT column, count(column) FROM table GROUP BY column
issue: https://github.com/sequelize/sequelize/issues/348
User.findAll({ group: ['field'] })
i use [email protected]
1.4m articles
1.4m replys
5 comments
57.0k users