From f23a4d5ac02038977dc4fc8374f997a232926e58 Mon Sep 17 00:00:00 2001 From: Somto <=> Date: Fri, 15 May 2026 13:27:16 +0100 Subject: [PATCH] fix(docs): correct typos and grammar in ORM and Studio docs - studio/embedding: "an quick" -> "a quick" - prisma-migrate/baselining: remove duplicate "a a" in image alt text - orm/comparisons/prisma-and-typeorm: "Loosing" -> "Losing" - orm/comparisons: rephrase ungrammatical "allows to ..." as "allows you to ..." (sequelize x1, typeorm x3) --- .../docs/orm/more/comparisons/prisma-and-sequelize.mdx | 2 +- .../docs/orm/more/comparisons/prisma-and-typeorm.mdx | 8 ++++---- .../docs/orm/prisma-migrate/workflows/baselining.mdx | 2 +- apps/docs/content/docs/studio/integrations/embedding.mdx | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/apps/docs/content/docs/orm/more/comparisons/prisma-and-sequelize.mdx b/apps/docs/content/docs/orm/more/comparisons/prisma-and-sequelize.mdx index 6e421edf46..f8ffa875cc 100644 --- a/apps/docs/content/docs/orm/more/comparisons/prisma-and-sequelize.mdx +++ b/apps/docs/content/docs/orm/more/comparisons/prisma-and-sequelize.mdx @@ -16,7 +16,7 @@ While Prisma ORM and Sequelize solve similar problems, they work in very differe **Prisma ORM** is a new kind of ORM that mitigates many problems of traditional ORMs, such as bloated model instances, mixing business with storage logic, lack of type-safety or unpredictable queries caused e.g. by lazy loading. -It uses the [Prisma schema](/orm/prisma-schema/overview) to define application models in a declarative way. Prisma Migrate then allows to generate SQL migrations from the Prisma schema and executes them against the database. CRUD queries are provided by Prisma Client, a lightweight and entirely type-safe database client for Node.js and TypeScript. +It uses the [Prisma schema](/orm/prisma-schema/overview) to define application models in a declarative way. Prisma Migrate then allows you to generate SQL migrations from the Prisma schema and execute them against the database. CRUD queries are provided by Prisma Client, a lightweight and entirely type-safe database client for Node.js and TypeScript. ## API comparison diff --git a/apps/docs/content/docs/orm/more/comparisons/prisma-and-typeorm.mdx b/apps/docs/content/docs/orm/more/comparisons/prisma-and-typeorm.mdx index 350b240a36..d8099a327d 100644 --- a/apps/docs/content/docs/orm/more/comparisons/prisma-and-typeorm.mdx +++ b/apps/docs/content/docs/orm/more/comparisons/prisma-and-typeorm.mdx @@ -16,7 +16,7 @@ While Prisma ORM and TypeORM solve similar problems, they work in very different **Prisma ORM** is a new kind of ORM that mitigates many problems of traditional ORMs, such as bloated model instances, mixing business with storage logic, lack of type-safety or unpredictable queries caused e.g. by lazy loading. -It uses the [Prisma schema](/orm/prisma-schema/overview) to define application models in a declarative way. Prisma Migrate then allows to generate SQL migrations from the Prisma schema and executes them against the database. CRUD queries are provided by Prisma Client, a lightweight and entirely type-safe database client for Node.js and TypeScript. +It uses the [Prisma schema](/orm/prisma-schema/overview) to define application models in a declarative way. Prisma Migrate then allows you to generate SQL migrations from the Prisma schema and execute them against the database. CRUD queries are provided by Prisma Client, a lightweight and entirely type-safe database client for Node.js and TypeScript. ## API design & Level of abstraction @@ -297,7 +297,7 @@ This section explains the differences in type safety when loading relations of a #### TypeORM -TypeORM allows to eagerly load relations from the database via the `relations` option that can be passed to its [`find`](https://typeorm.io/find-options) methods. +TypeORM allows you to eagerly load relations from the database via the `relations` option that can be passed to its [`find`](https://typeorm.io/find-options) methods. Consider this example: @@ -427,9 +427,9 @@ This section explains the differences in type safety when filtering a list of re #### TypeORM -TypeORM allows to pass a `where` option to its [`find`](https://typeorm.io/find-options) methods to filter the list of returned records according to specific criteria. These criteria can be defined with respect to a model's properties. +TypeORM allows you to pass a `where` option to its [`find`](https://typeorm.io/find-options) methods to filter the list of returned records according to specific criteria. These criteria can be defined with respect to a model's properties. -##### Loosing type-safety using operators +##### Losing type-safety using operators Consider this example: diff --git a/apps/docs/content/docs/orm/prisma-migrate/workflows/baselining.mdx b/apps/docs/content/docs/orm/prisma-migrate/workflows/baselining.mdx index 6dc52a314c..09f450c0fe 100644 --- a/apps/docs/content/docs/orm/prisma-migrate/workflows/baselining.mdx +++ b/apps/docs/content/docs/orm/prisma-migrate/workflows/baselining.mdx @@ -42,7 +42,7 @@ However, when you `prisma migrate deploy` your migrations to databases that alre The target database already contains the tables and columns created by the initial migration, and attempting to create these elements again will most likely result in an error. -![A migration history represented by three migration files (file icon and name), surrounded by a a box labelled 'migration history'. The first migration is marked 'do not apply', and the second two migrations are marked 'apply'. An arrow labelled with the command 'prisma migrate deploy' points from the migration history to a database labelled 'production'.](/img/orm/prisma-migrate/workflows/deploy-db.png) +![A migration history represented by three migration files (file icon and name), surrounded by a box labelled 'migration history'. The first migration is marked 'do not apply', and the second two migrations are marked 'apply'. An arrow labelled with the command 'prisma migrate deploy' points from the migration history to a database labelled 'production'.](/img/orm/prisma-migrate/workflows/deploy-db.png) Baselining solves this problem by telling Prisma Migrate to pretend that the initial migration(s) **have already been applied**. diff --git a/apps/docs/content/docs/studio/integrations/embedding.mdx b/apps/docs/content/docs/studio/integrations/embedding.mdx index 250f0197f1..a947c4a13c 100644 --- a/apps/docs/content/docs/studio/integrations/embedding.mdx +++ b/apps/docs/content/docs/studio/integrations/embedding.mdx @@ -20,7 +20,7 @@ If you want to see what embedded Studio looks like, **[check out the demo](https You can embed Prisma Studio in your own app in various scenarios: -- Create an quick admin dashboard for editing data +- Create a quick admin dashboard for editing data - Multi-tenant application where every user has their own DB - Provide an easy way to view and edit data to your users