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

ORM's are for basic CRUD crap.

SQL is for queries that matter. My ORM usage is almost entirely limited to: get this record, change these values, save it. Anything involving complex joins/ unions gets thrown to raw SQL. Better yet, stored functions on the DB side. Postgres is awesome for this.



Totally agree. This is the reason I wrote this tiny toy "ORM" just for CRUD.




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

Search: