4 ms·
To be honest, I've never really understood the point of using an ORM. Sure, I guess it would be handy if you needed to migrate your data from one RDBMS to anoth
by jackmaney 13y ago
To be honest, I've never really understood the point of using an ORM. Sure, I guess it would be handy if you needed to migrate your data from one RDBMS to another, but other than that, I find it much easier to write SQL (with parameterized queries when applicable).
- misterjangles 13y agoIn my case it just saves a lot of time on "plumbing" code. Having DB entities represented consistently as objects is helpful for doing all kinds of things. - having events fire on save or delete, hooks for business-logic validation, etc. boring stuff perhaps but time-saving and keeps things really well organized. My ORM of choice doesn't take away the ability to write raw SQL when you want, though. I wouldn't want to use an ORM where you couldn't extend it with your own SQL.