eaigner / hood

Database agnostic ORM for Go
MIT License
708 stars 52 forks source link

aggregate functions #76

Open FreekKalter opened 10 years ago

FreekKalter commented 10 years ago

I know aggregate functions are not implemented yet as methods. But there should be a way to use them through Select or FindSql right? I tried several variations but getting pq: column "max(date)" does not exist. Can anyone help me with this please?

PavelPolyakov commented 10 years ago

Have you solved this issue?

How can I use the aggregate functions during the queries?