Ormlite GroupBy month

How I can groupBy a month in ormlite on a date column?

1 Like

Have you tried using ordering by the month function for your RDBMS?

q.OrderBy("MONTH(ColumnName)")

I try to find a cross RDBMS function.
I implemented with plain sql expression.
Thanks.