Nikolas
Nikolas
We don't have a proper "reference doc" for the driver adapter API (e.g. `PrismaPg`) but only instructions for using them, e.g. [here](https://www.prisma.io/docs/orm/overview/databases/postgresql#using-the-node-postgres-driver). We should add a proper reference that outlines...
Review and improve docs page about "Special rules for referential actions in SQL Server and MongoDB"
The docs pages has several issues: - lacks examples for MongoDB (which it should have) - be more specific about _how_ errors are being triggered - find better way to...
More context in this internal Slack convo: https://prisma-company.slack.com/archives/C0599UK7AP8/p1712931084769659
We need to update the import instructions for `PrismaClient` on this page: https://www.prisma.io/docs/orm/prisma-client/setup-and-configuration/introduction#3-importing-prisma-client Based on this Tweet: https://twitter.com/SaketCodes/status/1777260650022014984 Internal context: https://prisma-company.slack.com/archives/C04TW4A2H8C/p1712567329099999
Based on: https://echobind.com/post/make-prisma-ignore-a-migration-change Note: Include disclaimers.
In the Prisma Client API reference, sometimes the `select` and `include` sections link to the respective sections on the same page, e,g. for [`upsert`](https://www.prisma.io/docs/orm/reference/prisma-client-reference#upsert): Sometimes they don't, e.g. for [`findUnique`](https://www.prisma.io/docs/orm/reference/prisma-client-reference#findunique):...
This code snippet: ```prisma model Asset { id Int @id @default(autoincrement()) url String type AssetType video Video? article Article? owner User @relation(fields: [ownerId], references: [id]) ownerId Int } ``` Renders...
I wanted to create an expendable section with the `` and `` tags but the docs crash locally when I put in certain kind of content. Here is the content...
I think the `fromEvent` function should be renamed to something that expresses what it does. A few suggestions: - `graphcoolProjectContext` (or `getGraphcoolProjectContext`) - `graphcoolProject` (or `getGraphcoolProject`) - `graphcoolAPI` (or `getGraphcoolAPI`)...
## Problem Right now, defining a relation in the Prisma schema is quite verbose due to the required [relation scalar field](https://prisma.io/docs/reference/tools-and-interfaces/prisma-schema/relations#annotated-relation-fields-and-relation-scalar-fields): ```prisma model User { id Int @id @default(autoincrement()) posts...