Skip to content

Commit

Permalink
Merge branch 'main' into janpio/connetors-native-type-mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
janpio authored Nov 16, 2023
2 parents 408e76f + 1094a7f commit 000fdff
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 10 deletions.
18 changes: 17 additions & 1 deletion cSpell.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -479,6 +479,8 @@ When you define two relations between the same two models, you need to add the `
<tab>

```prisma
// NOTE: This schema is intentionally incorrect. See below for a working solution.
model User {
id Int @id @default(autoincrement())
name String?
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2454,7 +2454,7 @@ The following examples demonstrate how to use the [`validator`](/concepts/compon
### <inlinecode>distinct</inlinecode>
Deduplicate a list of records. See also: [Aggregation, grouping, and summarizing](/concepts/components/prisma-client/aggregation-grouping-summarizing#select-distinct) <span class="concept"></span>
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) <span class="concept"></span>
#### Examples
Expand Down

0 comments on commit 000fdff

Please sign in to comment.