Hacker News new | ask | show | jobs
by fein 4628 days ago
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.

1 comments

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