Group by Month?
DimitarDechew opened this issue · 0 comments
DimitarDechew commented
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 opened this issue · 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"