rahulkumark / prisma-client-demo-ts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Prisma Client Explorer

Welcome to the Prisma client explorer in CodeSandbox! 👋

⚠️ IMPORTANT: This CodeSandbox is connected to a database that has writes disabled. Follow the setup instructions to try out the Prisma client API with your own demo database.

Features

There are three folders with scripts that you can use to play around with the Prisma client API:

  • 📖 src/reading-data
  • ✏️ src/writing-data
  • ⭐️ src/more-data-access

How to use

Once you have forked your own version of this CodeSandbox (see instructions here), you can start exploring the Prisma client API:

yarn demo

You can also directly run the scripts defined in package.json, e.g.:

yarn filtering-and-sorting # executes `src/reading-data/filterting-and-sorting.ts`

About


Languages

Language:TypeScript 100.0%