4 ms·
I've always thought the "being SQL database agnostic" theory of ORMs was more about a development team being able to choose from some common choices than about
by Glyptodon 7y ago
I've always thought the "being SQL database agnostic" theory of ORMs was more about a development team being able to choose from some common choices than about apps being portable in practice.
- timdev2 7y agoRight. That. An ORM for (only) PostgreSQL would seem odd -- though I do wonder if that might pay off in some ways.
- dkersten 7y agoYeah, I’ve never seen any complex applications, using ORM’s, that were easy to port to another database. Hell, one company I was at switched from MySQL to MariaDB and even that took some work despite that they should be almost the dame thing. If you switch to a more substantially different database, eg, from MySQL to Postgres, then its even harder. I’m also a believer in using a databases features when it makes sense and not limiting myself to the standardised subset of SQL just in case I might want to change databases later.