6 ms·
> - Some homegrown “SQL helper” that saves you from writing SELECT *, but now makes it a puzzle to reconstruct a basic query in a database >- Bonus points if t
by nsksl 1y ago
> - Some homegrown “SQL helper” that saves you from writing SELECT *, but now makes it a puzzle to reconstruct a basic query in a database
>- Bonus points if the half-baked data access layer is buried under layers of “magic” and is next to impossible to find.
It’s really funny because you’re describing an ORM perfectly.
- skinkestek 1y agoI don't know what kind of ORM you have used but I probably wouldn't like it either. My ORM does extremely much more than those "SQL helper" classes and it logs SQL nicely to the console or wherever I ask it to to log. And it is easy to find it, just search for @Entity.
- fknorangesite 1y agoThey're making the tongue-in-cheek observation that those who don't use an ORM end up reinventing one, poorly.
- lmm 1y agoA bad ORM. Every application that accesses an SQL database contains an ad hoc, informally-specified, bug-ridden, slow implementation of half of an ORM.