Prisma Client was introduced as a preview release offering an auto-generated, type-safe database access library as an alternative to Prisma bindings. It supports JavaScript, TypeScript, Flow, and Go, and is more flexible than bindings — usable for REST APIs, CLIs, and scripting, not just GraphQL servers. The client is configured via prisma.yml and generated with the Prisma CLI, exposing CRUD operations based on your datamodel with fluent API support for relations and transaction support for write operations. Note: this post is outdated and refers to Prisma 1, which is now deprecated.

4m read timeFrom prisma.io
Post cover image
Table of contents
Prisma client: The next evolution of Prisma bindingsGenerating the Prisma clientUsing the Prisma client APITry out Prisma client