by hn_reddit_human · 6y ago · 0 comments
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
Transactions were actually included in the last release https://github.com/prisma/prisma/releases/tag/2.1.0 (search for `transactionApi`) in a specific form behind a feature flag (batch transactions, not long running transactions).
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?