egoist/prisma-repl
حول
REPL for Prisma databases.
البيانات والتحليلاتالنمو المقاس للنجوم
- خلال 24 ساعة
- ٠
- خلال 7 أيام
- ٠
- خلال 15 يومًا
- ٠
- خلال شهر
- جارٍ جمع السجل
تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.
README.md
الأصل💛 You can help the author become a full-time open-source maintainer by sponsoring him on GitHub.
prisma-repl
A REPL for Prisma.
Install
npm i -g prisma-repl
# Or install locally
npm i -D prisma-repl
Usage
Make sure you're inside a valid Prisma project, i.e. the directory where you ran prisma init or other Prisma commands.
$ prisma-repl
The Prisma client instance is available as db:

After regenerating the Prisma client, type .reload in the REPL to reload it.
Running commands in the REPL
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.
Help
prisma-repl/0.0.0
Usage:
$ prisma-repl <command> [options]
Options:
--url <url> Override database URL
--client <dir> The output directory for your prisma client (default: node_modules/@prisma/client)
--verbose Show all Prisma logs
-v, --version Display version number
-h, --help Display this message
Sponsors
License
MIT © EGOIST
استكشف مشاريع مشابهة ومرتبطة
جارٍ التحميل…