0.0.1 • Published 2 years ago
prisma-extension-redis-cache v0.0.1
Prisma Client Extension starter repository
Use this template to bootstrap creating your Prisma Client extension.
Client extensions provide a powerful way to add functionality to Prisma Client in a type-safe manner. You can use them to create simple and flexible solutions that are not natively supported by Prisma.
If you would like to learn more, refer to the Prisma docs to learn more information.
Get started
Click the Use this template button and provide details for your Client extension
Install the dependencies:
npm installBuild the extension:
npm run buildSet up the example app:
cd example
npm install
npx prisma db pushTest the extension in the example app:
npm run devEvolve the extension
The code for the extension is located in the index.ts file. Feel free to update it before publishing your Client extension to npm.
Learn more
0.0.1
2 years ago