Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Will there be additional parts that cover how to create GROUP BY queries in the ORM? I find even seasoned Django developers struggle with these.

The last time I needed to do that, I ended up crying "uncle" and writing manual SQL. I wasn't happy about doing it, but I was happy that the framework left me an escape hatch so that I could.



It's actually easy once you get it, it's just that they choose bizarre terminology that doesn't translate directly from sql. .values() and .annotate() ?!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: