3 ms·
We tried converting from Sequelize to Prisma and learned transactions were not fully supported... Can't build an app without transactions
by heroic 5y ago
We tried converting from Sequelize to Prisma and learned transactions were not fully supported... Can't build an app without transactions
- arcturus17 5y agoIs this for real? And what are people building that wouldn't need this?
- nikolasburk 5y agoTransactions are supported in Prisma, see this guide in our docs [1]. I guess the post refers to our opinionated stance on "long-running transactions" which Prisma indeed does not at the moment. The best resources to learn about this are on GitHub [2] and our blog [3]. [1] https://www.prisma.io/docs/guides/performance-and-optimization/prisma-client-transactions-guide https://www.prisma.io/docs/guides/performance-and-optimizati... [2] https://github.com/prisma/prisma/issues/1844 https://github.com/prisma/prisma/issues/1844 [3] https://www.prisma.io/blog/how-prisma-supports-transactions-x45s1d5l0ww1 https://www.prisma.io/blog/how-prisma-supports-transactions-...