REPL for Prisma databases
npm install prisma-repl💛 You can help the author become a full-time open-source maintainer by sponsoring him on GitHub.
---
 
A REPL for Prisma.
``bash`
npm i -g prisma-replOr install locally
npm i -D prisma-repl
Make sure you're inside a valid Prisma project, i.e. the directory where you ran prisma init or other Prisma commands.
`bash`
$ prisma-repl
The Prisma client instance is available as db:

After regenerating the Prisma client, type .reload in the REPL to reload it.
You can directly run commands in the REPL using sh tag:

For Prisma commands, you can use use the prisma shorthand:

The Prisma client is automatically reloaded in the REPL when you run commands like prisma db push or prisma generate.
`
prisma-repl/0.0.0
Usage:
$ prisma-repl
Options:
--url
--client
--verbose Show all Prisma logs
-v, --version Display version number
-h, --help Display this message
``

MIT © EGOIST