Re:What ORMs have taught me: just learn SQL
by xienze on Monday August 04, 2014 @05:34PM
(#8134160)
It makes your code less portable. Raw SQL means you're essentially tied to a single DB provider. What happens when you need to move to a different one?
[ Parent
| on HN ]
Then you should probably rewrite your statements anyways to take advantage of platform-specific features. I won't write a query on MySQL the same as I would on Postgres, because there's usually a better way.
CRUD is about all that can honestly stay the same, as IMO that's where ORMs shine.
Sorry... I meant more portable between applications (assuming you're willing to stick with SQL), obviously not between database providers.
Re:What ORMs have taught me: just learn SQL
by JimBarrows on Monday August 04, 2014 @06:27PM
(#8134417)
What if you don't need to move to a different one?