Open DimitarDechew opened 5 years ago
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"
createdAt
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"