News for hackers. Stuff that matters.
Re:Show HN: Node.js ORM to query SQL database through an arr... by anonzzzies on Thursday September 05, 2024 @11:25AM (#41457499)
Hmm. I might be wrong as I haven't used Drizzle, just read the docs, but isn't Drizzle just like Prisma? That's really not the same as this. I find Prisma at least one of the most terrible things I ever worked with in my life; the rigidity (which I guess is the arrogance of the devs which they call opinionated; their right but he), the weird querying dsl, the terrible tooling. Just checked 'Drizzle queries' again and see it looks exactly like Prisma is it not? That's really not anything like this imho?
Re:Show HN: Node.js ORM to query SQL database through an arr... by onion90 on Thursday September 05, 2024 @12:03PM (#41457886)
The "Drizzle Queries" section of the docs describes additional APIs for relations (referred to in the docs as db.query). There is also an API that looks/works much more like SQL (see db.select(), db.insert(), db.update()) with good types.