user964287 user964287 - 1 year ago 96
Javascript Question

How does group by works in sequelize?

I am looking for

group by
queries through Sequelize and cannot seem to find any documentation.

SELECT column, count(column)
FROM table
GROUP BY column

Answer Source


 group: ['field']

i use sequelize@2.0.0-dev9

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download