diff --git a/cSpell.json b/cSpell.json index 13b402dc94..054c9665f7 100644 --- a/cSpell.json +++ b/cSpell.json @@ -56,7 +56,23 @@ "Replibyte", "Snaplet", "Kysely", - "Turso" + "Turso", + "inshellisense", + "Formbricks", + "Openform", + "Documenso", + "Docusign", + "ghostfolio", + "Scholarsome", + "Dittofeed", + "Webstudio", + "Dyrector", + "Coolify", + "hostable", + "Rallly", + "Dundring", + "Letterpad", + "Hitori" ], "ignoreWords": [ "Ania", diff --git a/content/200-concepts/050-overview/300-prisma-in-your-stack/01-rest.md b/content/200-concepts/050-overview/300-prisma-in-your-stack/01-rest.md index c82244a52c..47673b7a76 100644 --- a/content/200-concepts/050-overview/300-prisma-in-your-stack/01-rest.md +++ b/content/200-concepts/050-overview/300-prisma-in-your-stack/01-rest.md @@ -30,7 +30,8 @@ Here's a non-exhaustive list of libraries and frameworks you can use with Prisma - [Polka](https://github.com/lukeed/polka) - [Micro](https://github.com/zeit/micro) - [Feathers](https://feathersjs.com/) - +- [Remix](https://remix.run/) + ## REST API server example Assume you have a Prisma schema that looks similar to this: diff --git a/content/200-concepts/100-components/01-prisma-schema/06-relations/410-referential-actions/index.mdx b/content/200-concepts/100-components/01-prisma-schema/06-relations/410-referential-actions/index.mdx index 6e9cc0ed72..81974a1c83 100644 --- a/content/200-concepts/100-components/01-prisma-schema/06-relations/410-referential-actions/index.mdx +++ b/content/200-concepts/100-components/01-prisma-schema/06-relations/410-referential-actions/index.mdx @@ -152,12 +152,13 @@ The following table shows which referential action each database supports. | Database | Cascade | Restrict | NoAction | SetNull | SetDefault | | :---------- | :------ | :------- | :------- | :------ | :--------- | -| PostgreSQL | **✔️** | **✔️** | **✔️** | **✔️**⌘ | **✔️** | -| MySQL | **✔️** | **✔️** | **✔️** | **✔️** | ❌ (✔️†) | -| SQLite | **✔️** | **✔️** | **✔️** | **✔️** | **✔️** | -| SQL Server | **✔️** | **❌**‡ | **✔️** | **✔️** | **✔️** | -| CockroachDB | **✔️** | **✔️** | **✔️** | **✔️** | **✔️** | -| MongoDB†† | **✔️** | **✔️** | **✔️** | **✔️** | **❌** | +| PostgreSQL | ✔️ | ✔️ | ✔️ | ✔️⌘ | ✔️ | +| MySQL | ✔️ | ✔️ | ✔️ | ✔️ | ❌ (✔️†) | +| SQLite | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | +| SQL Server | ✔️ | ❌‡ | ✔️ | ✔️ | ✔️ | +| CockroachDB | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | +| MongoDB†† | ✔️ | ✔️ | ✔️ | ✔️ | ❌ | + - † See [special cases for MySQL](#mysql). - ⌘ See [special cases for PostgreSQL](#postgresql). diff --git a/content/200-concepts/100-components/01-prisma-schema/06-relations/index.mdx b/content/200-concepts/100-components/01-prisma-schema/06-relations/index.mdx index 8f678823a7..6c7441ca57 100644 --- a/content/200-concepts/100-components/01-prisma-schema/06-relations/index.mdx +++ b/content/200-concepts/100-components/01-prisma-schema/06-relations/index.mdx @@ -479,6 +479,8 @@ When you define two relations between the same two models, you need to add the ` ```prisma +// NOTE: This schema is intentionally incorrect. See below for a working solution. + model User { id Int @id @default(autoincrement()) name String? diff --git a/content/300-guides/125-development-environment/100-editor-setup.mdx b/content/300-guides/125-development-environment/100-editor-setup.mdx index 50e60e46cd..8bf05ee66b 100644 --- a/content/300-guides/125-development-environment/100-editor-setup.mdx +++ b/content/300-guides/125-development-environment/100-editor-setup.mdx @@ -55,7 +55,7 @@ You can install the official [Prisma VS Code extension](https://marketplace.visu #### inshellisense -You can get IDE-style autocompletions for Prisma CLI using [`inshellisense`](https://github.com/microsoft/inshellisense/tree/main). It supports: bash, zsh, fish, pwsh, powershell (Windows Powershell). +You can get IDE-style autocompletion for Prisma CLI using [`inshellisense`](https://github.com/microsoft/inshellisense/tree/main). It supports: bash, zsh, fish, pwsh, powershell (Windows Powershell). To install, run: diff --git a/content/400-reference/200-api-reference/050-prisma-client-reference.mdx b/content/400-reference/200-api-reference/050-prisma-client-reference.mdx index 7f16e45725..88938a7be7 100644 --- a/content/400-reference/200-api-reference/050-prisma-client-reference.mdx +++ b/content/400-reference/200-api-reference/050-prisma-client-reference.mdx @@ -2454,7 +2454,7 @@ The following examples demonstrate how to use the [`validator`](/concepts/compon ### distinct -Deduplicate a list of records. See also: [Aggregation, grouping, and summarizing](/concepts/components/prisma-client/aggregation-grouping-summarizing#select-distinct) +Deduplicate a list of records from [`findMany`](#findmany) or [`findFirst`](#findfirst). See also: [Aggregation, grouping, and summarizing](/concepts/components/prisma-client/aggregation-grouping-summarizing#select-distinct) #### Examples