4 ms·
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. Anyth
by fein 13y 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.
- jmgutn 13y agoTotally agree. This is the reason I wrote this tiny toy "ORM" just for CRUD.