Skip to content

Latest commit

History

History
82 lines (66 loc) 路 3.72 KB

File metadata and controls

82 lines (66 loc) 路 3.72 KB
title Introduction to Prisma Next
description Prisma Next is the next major version of Prisma ORM, available in Early Access.
url /next
metaTitle Introduction to Prisma Next
metaDescription Prisma Next is the next major version of Prisma ORM, available in Early Access.
badge early-access

Prisma Next is a ground-up rebuild of Prisma ORM, covering the runtime, query APIs, migration flow, and project setup.

:::note[Prisma Next is in Early Access]

Prisma Next is the next major version of Prisma ORM, available now in Early Access. It鈥檚 the cutting-edge version of Prisma ORM and will become the future of Prisma, so we鈥檇 love for you to try it, explore what鈥檚 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.

npx create-prisma@next

Start with the setup page when you want a guided first run.

}> Pick a new-project quickstart or add Prisma Next to an existing app.

What you can try

}> Create a Prisma Next app, initialize the database, seed data, and run the first query. }> Create a Prisma Next app with a local MongoDB replica set or your own MongoDB deployment. }> Add Prisma Next to an existing PostgreSQL app with `prisma-next init`. }> Add Prisma Next to an existing MongoDB app and model the collections you want to query first. }> Create a Prisma Next app backed by Prisma Postgres.

Learn the fundamentals

Once you are connected, the Fundamentals section teaches the everyday query patterns.

}> Filter with where, project with select, sort, and paginate. }> Create, update, delete, upsert, and the bulk write variants. }> Read related records with include on PostgreSQL and MongoDB. }> Make several writes succeed or fail together. }> The SQL builder and the MongoDB pipeline builder for shapes the ORM can't express.

Learn the concepts

}> Learn the core ideas behind contracts, emitted artifacts, runtime clients, query styles, and migrations.