node-orm2 icon indicating copy to clipboard operation
node-orm2 copied to clipboard

Group by Month?

Open DimitarDechew opened this issue 7 years ago • 0 comments

How can I group my results by month? I want to get sum of orders in all months of the year. I tried using .groupBy("MONTH(createdAt)") but it returns "undefined"

DimitarDechew avatar Oct 24 '18 16:10 DimitarDechew