Better HN
topnewbestaskshowjobs
Log inSign up

hn_reddit_human

24 karma · joined Mar 28, 2019 (7y ago) · 7 submissions

Submissions

comment 6y ago · link · parent

I think that declarative migrations don't make sense in the real world.

You're modifying existing state so it has to be incremental.

I'm curious to see how Prisma plans to handle these real-world use-cases.

comment 6y ago · link · parent

Thanks!

IIUC, a "batch" request is run in a transaction.But if I need to run business logic in the middle of requests that's not supported?

comment 6y ago · link · parent

I mentioned this the last time, but I find it surprising that the Prisma ORM doesn't support transactions or aggregations?

Any thoughts from the Prisma team? It kind of seems like table stakes. I commented on this previously as well: https://news.ycombinator.com/item?id=23467427

comment 6y ago · link · parent

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?

comment 6y ago · link · parent

Does the commercial offering from Gatsby offer hosting? I couldn't figure it out from the https://gatsbyjs.com page.

Gatsby and NextJS (Vercel) are both backed by CRV[1,2]. It seems like a fairly competitive overlap. Would love to hear takes from folks on HN about the feasibility and comparison of Gatsby's and Vercel's business models and competitive overlaps.

[1] https://www.businesswire.com/news/home/20200527005268/en/Gat... [2] https://medium.com/crv-insights/from-next-to-now-to-21m-for-...

comment 7y ago · link · parent

Hm... is this is like JOOQ[1] for non-Java languages? Or maybe more like a typed version of massivejs[2]?

[1] https://www.jooq.org/ [2] https://massivejs.org/

7.

Ask HN: Why are subreddits so toxic?

11 points · by hn_reddit_human · 7y ago · 1 comment