Skip to content

Generating the prisma client

Course: Prisma - chapter 8

Client represents all the functions that convert

User.create({email: "harkirat@gmail.com"})

into

INSERT INTO users VALUES ...

Once you’ve created the prisma/schema.prisma , you can generate these clients that you can use in your Node.js app

npx prisma generate

This generates a new client for you.