Introduction to Prisma Next
Prisma Next is the next major version of Prisma ORM, available in Early Access.
Prisma Next is a ground-up rebuild of Prisma ORM, covering the runtime, query APIs, migration flow, and project setup.
Prisma Next is the next major version of Prisma ORM, available now in Early Access. It’s the cutting-edge version of Prisma ORM and will become the future of Prisma, so we’d love for you to try it, explore what’s new, and share your feedback in Discord.
If you want to stay on the current generally available version of Prisma ORM, you can continue with Prisma 7.
Use Prisma Next when you want to try the new developer experience before it becomes the default Prisma ORM path.
bunx create-prisma@nextStart with the setup page when you want a guided first run.
What you can try
Quickstart with PostgreSQL
Create a Prisma Next app, initialize the database, seed data, and run the first query.
Quickstart with MongoDB
Create a Prisma Next app with a local MongoDB replica set or your own MongoDB deployment.
Add to PostgreSQL
Add Prisma Next to an existing PostgreSQL app with prisma-next init.
Add to MongoDB
Add Prisma Next to an existing MongoDB app and model the collections you want to query first.
Use Prisma Postgres
Create a Prisma Next app backed by Prisma Postgres.
Learn the fundamentals
Once you are connected, the Fundamentals section teaches the everyday query patterns.
Reading data
Filter with where, project with select, sort, and paginate.
Writing data
Create, update, delete, upsert, and the bulk write variants.
Relations and joins
Read related records with include on PostgreSQL and MongoDB.
Transactions
Make several writes succeed or fail together.
Advanced queries
The SQL builder and the MongoDB pipeline builder for shapes the ORM can't express.