prisma transaction

Solutions on MaxInterview for prisma transaction by the best coders in the world

showing results for - "prisma transaction"
Mayron
29 Oct 2019
1const [posts, totalPosts] = await prisma.$transaction([
2  prisma.post.findMany({ where: { title: { contains: 'prisma' } } }),  
3  prisma.post.count(),
4])
queries leading to this page
prisma transactionprisma transaction