News for hackers. Stuff that matters.
Re:What ORMs have taught me: just learn SQL (2014) by Glyptodon on Friday September 20, 2019 @07:00PM (#21032169)
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.
Re:What ORMs have taught me: just learn SQL (2014) by dkersten on Saturday September 21, 2019 @06:20AM (#21034481)
Yeah, 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.
Re:What ORMs have taught me: just learn SQL (2014) by timdev2 on Friday September 20, 2019 @07:38PM (#21032401)
Right. That. An ORM for (only) PostgreSQL would seem odd -- though I do wonder if that might pay off in some ways.