News for hackers. Stuff that matters.
Re:To ORM or Not to ORM by ethbro on Tuesday May 07, 2019 @02:50PM (#19852290)
I look at this as not playing to core competencies.

SQL's strength is that it's declarative.

By wrapping an ORM around it, suddenly you have a DB engine talking to an ORM engine through a declarative interface. There simply isn't enough information and context passed across the interface to properly optimize.

So in the end, it's like trying to run two optimizing compilers in series, where either knows the specs of the other.

There are no comments on this comment yet.