Prisma
You can use Transactional with Prisma client to run your queries in a transaction, this requires interactive transactions to be supported by the client.
Install
Usage
Prisma transactional extensions run queries using the unextended client, so make sure to use the transactional extension after other extensions, like logging extensions or extensions that add methods to the client.
Using @Transactional
Decorator
@Transactional
DecoratorUsing transactional
Method
transactional
MethodLast updated