Hacker News new | ask | show | jobs
by eddd-ddde 816 days ago
Not even that works painlessly. You commonly run into incompatibilities so an ORM won't necessarily make your code database agnostic.
1 comments

It lessens the pain, still. It's rare that you'd use common ORM methods and run into something that's supported for one RDBMS and not another. Doing stuff that's less common and, of course, writing raw SQL will still be pain points but they'll be fewer than if one was doing everything in raw SQL.