News for hackers. Stuff that matters.
Re:Prisma – ORM for Node.js and TypeScript by sickcodebruh on Wednesday April 21, 2021 @09:45AM (#26889596)
This is the one upside I’ve had of using TypeORM: I find its query abstractions so unreliable and surprising that it’s forced me to get better at SQL!
Re:Prisma – ORM for Node.js and TypeScript by hardwaresofton on Wednesday April 21, 2021 @10:16AM (#26889986)
And once you're good at SQL, it will never let you down. Query builders + reasonably abstracted libraries for the repetitive things (the repository pattern in TypeORM gets me just about all the CRUD I need), and query building/raw queries for the rest.

The things that the DB can do (I'm thinking about postgres) are amazing, and you just aren't going to get a chance to use a lot of it really from a lowest common denominator ORM. Yeah, you probably don't need it -- but then again why not just use a tool like Postgrest from the start?

Re:Prisma – ORM for Node.js and TypeScript by mirthflat83 on Wednesday April 21, 2021 @10:43AM (#26890297)
Lmao. This happened to me too no joke