Hacker News new | ask | show | jobs
by jorl17 780 days ago
> I’m increasingly cold on ORMs existing to abstract away the specifics of your DBMS. In my entire career I think I’ve seen one migration between different databases (MySQL to Postgres), and it was an undertaking despite using an ORM.

I've always viewed it more as "we can start fresh with another database with ease" and not "we can migrate from a database to another quickly".

And when I say "start fresh", I don't literally mean starting fresh. It can just mean I write my packages (e.g. Django's "Applications") in a database-independent way and whoever ends up using it can use it with whatever DB they have.

Perhaps your vision is indeed what is often sold, though I never saw it that way.