UNPKG

@transactional/prisma

Version:

"@transactional/prisma" is an npm package that offers a "@Transactional" method decorator for running your queries inside a transaction seamlessly. It achieves this by leveraging AsyncLocalStorage.

17 lines (12 loc) 1.29 kB
<p style="background-color:white; padding: 25px; box-sizing: border-box; border-radius: 15px" align="center"> <a href="https://transactional.gitbook.io/documentation/" target="blank"><img src="./assets/banner.svg" alt="Transactional + Prisma Logo" /></a> </p> <p align="center">Seamlessly integrates transactions into your application using <a href="https://nodejs.org" target="_blank">Node.js</a> Async Local Storage API.</p> <p align="center"> <a href="https://www.npmjs.com/~transactional" target="_blank"><img src="https://img.shields.io/npm/v/@transactional/prisma.svg" alt="NPM Version" /></a> <a href="https://www.npmjs.com/~transactional" target="_blank"><img src="https://img.shields.io/npm/l/@transactional/prisma.svg" alt="Package License" /></a> <a href="https://www.npmjs.com/~transactional" target="_blank"><img src="https://img.shields.io/npm/dm/@transactional/prisma.svg" alt="NPM Downloads" /></a> </p> ## Description "@transactional/prisma" is an npm package that offers a "@Transactional" method decorator for running your queries inside a transaction seamlessly. It achieves this by leveraging AsyncLocalStorage." Please read the docs for more information [Transactional Documentation | Prisma](https://transactional.gitbook.io/documentation/clients/prisma).