News for hackers. Stuff that matters.
Re:Prisma 2.0 – Type-safe and auto-generated database client by hn_reddit_human on Tuesday June 09, 2020 @11:23AM (#23467427)
If I understand correctly, transactions are currently not supported for doing any advanced business logic beyond building CRUD: https://www.prisma.io/docs/reference/tools-and-interfaces/pr...

Also, no mention of aggregations, or if someone could point me to it?

As far as typed query builders go, even though things like JOOQ are simply amazing, but I fear that the query building approach has not really caught on for database access and people seem to prefer "object oriented" methods like ORMs.

Any comments from HN folks about why that is?

Re:Prisma 2.0 – Type-safe and auto-generated database client by ssijak on Tuesday June 09, 2020 @12:01PM (#23467786)
People are scared of SQL or they want to use their objects for data access, business logic and views at the same time (leading to bad architecture and headaches), or they come from Nosql world, or they want a shiny new tool, or they do not understand features of their used db well, or because “everybody is using ORM zyz”... Just from the top of my head, there are probably more.
Re:Prisma 2.0 – Type-safe and auto-generated database client by doug78 on Tuesday June 09, 2020 @12:11PM (#23467868)
How can ORM be used with Prisma?