Install and Generate the Prisma Client
Aperta
documentation
- Lingua principale
- TypeScript
- Stelle
- 0
- Fork
- 0
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
Before you can access your database from Next.js using Prisma, you first need to install Prisma Client in your app. Prisma Client is tailored to your own schema. You can follow this step:
- [ ] `npm install @prisma/client` to install Prisma Client in your app
- [ ] `npx prisma generate` needed for update it every time your Prisma schema file is changing
- [ ] You'll use a single `PrismaClient` instance that you can import into any file where it's needed. The instance will be created in a `prisma.ts` file inside the `lib/` directory.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.