Better HN
topnewbestaskshowjobs
Log inSign up

pastaelle

3 karma · joined Jun 29, 2017 (9y ago) · 1 submissions

Submissions

comment 9y ago · link · parent

The point of an ORM is not to be some magic 1:1 powerhouse, but to make it easy to abstract your storage layer. If I had the time and resources, I would make storage plugins with testing interfaces and dependency injections that precisely match the query patterns of my application. ORMs are almost never an ideal fit but they give me that for free out of the box.