node-orm2
node-orm2 copied to clipboard
Group by Month?
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"