From 1c8bd8251f2f406626012e0438bcc0d666c67189 Mon Sep 17 00:00:00 2001
From: Marc Hess
- Understand why your database queries are slow, see their real impact in production, and
- generate a structured AI prompt to improve them.
+ Understand why your database queries are slow, see their real impact
+ in production, and generate a structured AI prompt to improve them.
- Query Insights groups your queries, tracks execution time and read volume, and
- shows you which query shapes are driving performance issues, in one single
- overview page.
+ Query Insights groups your queries, tracks execution time
+ and read volume, and shows you which query shapes are
+ driving performance issues, in one single overview page.
- See which code-level query is causing slow responses or increased load. Prisma
- ORM queries get exclusive attribution. All other SQL queries are visible too.
+ See which code-level query is causing slow responses or
+ increased load. Prisma ORM queries get exclusive
+ attribution. All other SQL queries are visible too.
- Query Insights generates an optimization prompt for each query group, covering
- likely causes like missing indexes or excessive reads. Works with any AI
- coding assistant.
+ Query Insights generates an optimization prompt for each
+ query group, covering likely causes like missing indexes
+ or excessive reads. Works with any AI coding assistant.
- Already built into Prisma Postgres. No setup, no extra cost. Open the Queries tab
- and start analyzing.
+ Already built into Prisma Postgres. No setup, no extra cost.
+ Open the Queries tab and start analyzing.
- Works with your existing stack, wherever you deploy.Your choice of ORM, frameworks, and
- tools, they all just connect.
+ Works with your existing stack, wherever you deploy.Your choice of
+ ORM, frameworks, and tools, they all just connect.
- The PostgreSQL millions know and trust in production, ready in seconds with zero
- configuration. Automatic backups, observability and compliance.
+ The PostgreSQL millions know and trust in production, ready in seconds
+ with zero configuration. Automatic backups, observability and
+ compliance.
- Real Postgres with the developer experience and infrastructure to ship faster.
+ Real Postgres with the developer experience and infrastructure to
+ ship faster.
- Give your users instant production-ready Postgres, create databases, add a built-in
- data browser, and personalize it.
+ Give your users instant production-ready Postgres, create
+ databases, add a built-in data browser, and personalize it.
- Connect with thousands of developers building with Prisma. Ask questions, share your
- work, and help shape the future of the project.
+ Connect with thousands of developers building with Prisma. Ask
+ questions, share your work, and help shape the future of the
+ project.
- The heart of the Prisma community. Get help, share your projects, and connect
- with thousands of developers.
+ The heart of the Prisma community. Get help, share your
+ projects, and connect with thousands of developers.
- We welcome contributions of all forms from experienced developers and beginners alike.
- Showcase your projects, share your ideas, or help us improve Prisma with your
- feedback.
+ We welcome contributions of all forms from experienced developers
+ and beginners alike. Showcase your projects, share your ideas, or
+ help us improve Prisma with your feedback.
- Whether you're just getting started or have been building with Prisma for
- years, there's a place for you.
+ Whether you're just getting started or have been building
+ with Prisma for years, there's a place for you.
- By integrating Prisma into your development ecosystem, you leverage its capabilities to
- Build robust, adaptable applications with less code and fewer errors and also Fortify your
- database interactions for peak performance right from the start.
+ By integrating Prisma into your development ecosystem, you leverage
+ its capabilities to Build robust, adaptable applications with less
+ code and fewer errors and also Fortify your database interactions for
+ peak performance right from the start.
- As your application Grows, our platform products Accelerate and Prisma Postgres ensure
- that your data layer can adapt and scale, supporting increased traffic and requirements
- without sacrificing performance or security.
+ As your application Grows, our platform products Accelerate and Prisma
+ Postgres ensure that your data layer can adapt and scale, supporting
+ increased traffic and requirements without sacrificing performance or
+ security.
- Prisma acts as your comprehensive enterprise data toolset, simplifying database
- interactions and reducing complexity so developers can focus on business logic.
+ Prisma acts as your comprehensive enterprise data toolset,
+ simplifying database interactions and reducing complexity so
+ developers can focus on business logic.
- Focus on core competencies of your team, rather than building and managing complex
- infrastructure components.
+ Focus on core competencies of your team, rather than building and
+ managing complex infrastructure components.
- To explore how our support solutions can revolutionize your agency or enterprise's
- approach to developing with Prisma ORM.
+ To explore how our support solutions can revolutionize your agency
+ or enterprise's approach to developing with Prisma ORM.
- This is the mature, proven, and production-tested PostgreSQL millions of developers
- already rely on. Standard SQL and wire protocol, Postgres extensions like pgvector, and
- data import with pg_dump.
+ This is the mature, proven, and production-tested PostgreSQL millions
+ of developers already rely on. Standard SQL and wire protocol,
+ Postgres extensions like pgvector, and data import with pg_dump.
- Handles connection pooling automatically, and runs on bare metal and unikernels for
- maximum performance.
+ Handles connection pooling automatically, and runs on bare metal and
+ unikernels for maximum performance.
- Automated backups, encryption at rest and in transit, full tenant isolation and
- enterprise-grade compliance. Everything you need to ship with confidence, managed
- automatically.
+ Automated backups, encryption at rest and in transit, full tenant
+ isolation and enterprise-grade compliance. Everything you need to ship
+ with confidence, managed automatically.
with Prisma Accelerate [5.1.1](https://github.com/prisma/prisma/releases/tag/5.1.1) |
| [`extendedIndexes`](/orm/prisma-schema/data-model/indexes) | [3.5.0](https://github.com/prisma/prisma/releases/tag/3.5.0) | [4.0.0](https://github.com/prisma/prisma/releases/tag/4.0.0) |
@@ -77,7 +77,7 @@ In the list below, you can find a history of Prisma Client and Prisma schema fea
| [`namedConstraints`](/orm/prisma-schema/data-model/database-mapping#constraint-and-index-names) | [2.29.0](https://github.com/prisma/prisma/releases/tag/2.29.0) | [3.0.1](https://github.com/prisma/prisma/releases/tag/3.0.1) |
| [`referentialActions`](/orm/prisma-schema/data-model/relations/referential-actions) | [2.26.0](https://github.com/prisma/prisma/releases/tag/2.26.0) | [3.0.1](https://github.com/prisma/prisma/releases/tag/3.0.1) |
| [`orderByAggregateGroup`](/orm/prisma-client/queries/aggregation-grouping-summarizing#order-by-aggregate-group) | [2.21.0](https://github.com/prisma/prisma/releases/tag/2.21.0) | [3.0.1](https://github.com/prisma/prisma/releases/tag/3.0.1) |
-| [`orderByRelation`](/v6/orm/prisma-client/queries/filtering-and-sorting#sort-by-relation) | [2.16.0](https://github.com/prisma/prisma/releases/tag/2.16.0)
aggregates in [2.19.0](https://github.com/prisma/prisma/releases/tag/2.19.0) | [3.0.1](https://github.com/prisma/prisma/releases/tag/3.0.1) |
+| [`orderByRelation`](/orm/prisma-client/queries/filtering-and-sorting#sort-by-relation) | [2.16.0](https://github.com/prisma/prisma/releases/tag/2.16.0)
aggregates in [2.19.0](https://github.com/prisma/prisma/releases/tag/2.19.0) | [3.0.1](https://github.com/prisma/prisma/releases/tag/3.0.1) |
| [`selectRelationCount`](/orm/prisma-client/queries/aggregation-grouping-summarizing#count-relations) | [2.20.0](https://github.com/prisma/prisma/releases/tag/2.20.0) | [3.0.1](https://github.com/prisma/prisma/releases/tag/3.0.1) |
| `napi` | [2.20.0](https://github.com/prisma/prisma/releases/tag/2.20.0) | [3.0.1](https://github.com/prisma/prisma/releases/tag/3.0.1) |
| [`groupBy`](/orm/reference/prisma-client-reference#groupby) | [2.14.0](https://github.com/prisma/prisma/releases/tag/2.14.0) | [2.20.0](https://github.com/prisma/prisma/releases/tag/2.20.0) |
@@ -87,6 +87,6 @@ In the list below, you can find a history of Prisma Client and Prisma schema fea
| [`transactionApi`](/orm/prisma-client/queries/transactions#the-transaction-api) | [2.1.0](https://github.com/prisma/prisma/releases/tag/2.1.0) | [2.11.0](https://github.com/prisma/prisma/releases/tag/2.11.0) |
| [`connectOrCreate`](/orm/reference/prisma-client-reference#connectorcreate) | [2.1.0](https://github.com/prisma/prisma/releases/tag/2.1.0) | [2.11.0](https://github.com/prisma/prisma/releases/tag/2.11.0) |
| [`atomicNumberOperations`](/orm/reference/prisma-client-reference#atomic-number-operations) | [2.6.0](https://github.com/prisma/prisma/releases/tag/2.6.0) | [2.10.0](https://github.com/prisma/prisma/releases/tag/2.10.0) |
-| [`insensitiveFilters` (PostgreSQL)](/v6/orm/prisma-client/queries/filtering-and-sorting#case-insensitive-filtering) | [2.5.0](https://github.com/prisma/prisma/releases/tag/2.5.0) | [2.8.0](https://github.com/prisma/prisma/releases/tag/2.8.0) |
+| [`insensitiveFilters` (PostgreSQL)](/orm/prisma-client/queries/filtering-and-sorting#case-insensitive-filtering) | [2.5.0](https://github.com/prisma/prisma/releases/tag/2.5.0) | [2.8.0](https://github.com/prisma/prisma/releases/tag/2.8.0) |
| [`aggregateApi`](/orm/prisma-client/queries/aggregation-grouping-summarizing#aggregate) | [2.2.0](https://github.com/prisma/prisma/releases/tag/2.2.0) | [2.5.0](https://github.com/prisma/prisma/releases/tag/2.5.0) |
| [`distinct`](/orm/reference/prisma-client-reference#distinct) | [2.3.0](https://github.com/prisma/prisma/releases/tag/2.3.0) | [2.5.0](https://github.com/prisma/prisma/releases/tag/2.5.0) |
diff --git a/apps/docs/content/docs/orm/reference/prisma-client-reference.mdx b/apps/docs/content/docs/orm/reference/prisma-client-reference.mdx
index 0552094498..009e62d445 100644
--- a/apps/docs/content/docs/orm/reference/prisma-client-reference.mdx
+++ b/apps/docs/content/docs/orm/reference/prisma-client-reference.mdx
@@ -417,7 +417,7 @@ Use model queries to perform CRUD operations on your models. See also: [CRUD](/o
| Name | Example type (`User`) | Required | Description |
| ---------------------- | ------------------------ | -------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `where` | `UserWhereUniqueInput` | **Yes** | Wraps all fields of a model so that a record can be selected ([learn more](#filter-on-non-unique-fields-with-userwhereuniqueinput)). |
-| `select` | `XOR
@@ -175,9 +201,9 @@ export default async function Page(props: { params: Promise<{ slug: string }> })
className="
transition-colors
border capitalize
- border-stroke-neutral-strong
+ border-stroke-neutral-strong
bg-transparent
- text-foreground-neutral-weak
+ text-foreground-neutral-weak
hover:bg-background-ppg/50
hover:border-stroke-ppg/50
hover:text-foreground-ppg"
From a8c015b679fd18c790707c4a061077d05db0fead Mon Sep 17 00:00:00 2001
From: Carla Goncalves
fits your stack.
Better experience.
Discord
+
+ Discord
+
- Usage-based pricing, with a generous free tier. Spend limits included, so you never - get surprised. + Usage-based pricing, with a generous free tier. Spend limits + included, so you never get surprised.
- See how to get started in just a couple of minutes, with Prisma Postgres. + See how to get started in just a couple of minutes, with Prisma + Postgres.
Deploy a Postgres database instantly.
++ Deploy a Postgres database instantly. +
- Get exclusive 1:1 guidance from Prisma's database experts, and have your - database bill covered for a year and up to $10,000. + Get exclusive 1:1 guidance from Prisma's database + experts, and have your database bill covered for a year and up to + $10,000.
- Building a startup is hard – your tools shouldn't be. You need infra that grows - with you: flexible, powerful, and built to scale. + Building a startup is hard – your tools shouldn't be. You + need infra that grows with you: flexible, powerful, and built to + scale.
- Apply if you're building a software product or service with an active website - and meet the criteria below. + Apply if you're building a software product or service with + an active website and meet the criteria below.
- Prisma empowers you to innovate faster with the most reliable and developer-friendly - database infrastructure. Build with confidence, scale without limits, and deliver - exceptional experiences to your global audience—all while staying focused on what - matters: your product. + Prisma empowers you to innovate faster with the most reliable and + developer-friendly database infrastructure. Build with confidence, + scale without limits, and deliver exceptional experiences to your + global audience—all while staying focused on what matters: your + product.
{t.company}
++ {t.company} +
{t.author} - / {t.title} + + {" "} + / {t.title} +
- The ultimate tool for exploring and editing data in your Prisma project. Work locally or - team up inside the Prisma Console. + The ultimate tool for exploring and editing data in your Prisma + project. Work locally or team up inside the Prisma Console.
- Access Prisma Studio on your local machine during development, or in the Platform - Console to collaborate on data with your team. + Access Prisma Studio on your local machine during development, + or in the Platform Console to collaborate on data with your + team.
- Take Studio for a spin with a local pre-seeded database and example project. + Take Studio for a spin with a local pre-seeded database and + example project.
{description}
++ {description} +
{front.description}
++ {front.description} +
{/* Image preview */}- To support the OSS community and help fund the ecosystem around Prisma, we started our - Free and Open Source Software (FOSS) Fund in April 2022. Each month Prisma donates a - one-off amount of $500 to a selected open-source project. + To support the OSS community and help fund the ecosystem around + Prisma, we started our Free and Open Source Software (FOSS) Fund in + April 2022. Each month Prisma donates a one-off amount of $500 to a + selected open-source project.
- Prisma is committed to supporting initiatives that raise awareness about and combat the - effects of climate change. We will all be affected by this, and we owe it to the places, - people, and wildlife of this planet to make substantial changes and reduce our impact on - the climate. + Prisma is committed to supporting initiatives that raise awareness + about and combat the effects of climate change. We will all be + affected by this, and we owe it to the places, people, and wildlife of + this planet to make substantial changes and reduce our impact on the + climate.
- We equip developers with the right tools at every stage, whether they are{" "} - building, fortifying, or growing their - applications. + We equip developers with the right tools at every stage, whether they + are{" "} + + building, fortifying, or growing + {" "} + their applications.
), }, @@ -184,9 +257,9 @@ const boxes = [ title: "Built on open source", description: (- Applying Data DX principles to all our products, we - create simple solutions for complex problems, making building with data more accessible, - regardless of team size. + Applying Data DX principles to all + our products, we create simple solutions for complex problems, making + building with data more accessible, regardless of team size.
), }, @@ -320,14 +393,14 @@ export default function About() {- Our mission is to unlock productivity for developers by bringing delightful ways to - build with data. Data DX is at the core of all our products. + Our mission is to unlock productivity for developers by bringing + delightful ways to build with data. Data DX is at the core of all + our products.
{investor.title}
++ {investor.title} +
- Prisma acts as your comprehensive enterprise data toolset, simplifying database - interactions and reducing complexity so developers can focus on business logic. + Prisma acts as your comprehensive enterprise data toolset, + simplifying database interactions and reducing complexity so + developers can focus on business logic.
- Focus on core competencies of your team, rather than building and managing complex - infrastructure components. + Focus on core competencies of your team, rather than building and + managing complex infrastructure components.
- To explore how our support solutions can revolutionize your agency or enterprise's - approach to developing with Prisma ORM. + To explore how our support solutions can revolutionize your agency + or enterprise's approach to developing with Prisma ORM.
- The ultimate tool for exploring and editing data in your Prisma project. Work locally or - team up inside the Prisma Console. + The ultimate tool for exploring and editing data in your Prisma + project. Work locally or team up inside the Prisma Console.
- Access Prisma Studio on your local machine during development, or in the Platform - Console to collaborate on data with your team. + Access Prisma Studio on your local machine during development, + or in the Platform Console to collaborate on data with your + team.
- Take Studio for a spin with a local pre-seeded database and example project. + Take Studio for a spin with a local pre-seeded database and + example project.
{description}
++ {description} +