Prisma2mo ago

prisma.transaction.findMany() not working

i have a transactions table in my database and transaction model. when i use prisma.transaction.findMany() it not working.
1 Reply
JeanPSF2mo ago
Looks like you are using transactions wrong, can you provide a piece of code and the error? https://www.prisma.io/docs/orm/prisma-client/queries/transactions
Transactions and batch queries (Reference) | Prisma Documentation
This page explains the transactions API of Prisma Client.