Skip to content

Commit 0fe247a

Browse files
docs(orm-overview): explain acronyms for general readers (#7362)
Co-authored-by: Aman Varshney <[email protected]>
1 parent 39e0dbd commit 0fe247a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

content/200-orm/050-overview/100-introduction/250-should-you-use-prisma.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ _Alternatives_: SQL drivers (e.g. [`node-postgres`](https://node-postgres.com/),
9191

9292
If you don't want to write any code for your backend and just be able to generate your API server and the database out-of-the-box, you might rather choose a Backend-as-a-Service (BaaS) for your project.
9393

94-
With a BaaS, you can typically configure your data model via a high-level API (e.g. [GraphQL SDL](https://www.prisma.io/blog/graphql-sdl-schema-definition-language-6755bcb9ce51)) or a visual editor. Based on this data model, the BaaS generates a CRUD API and provisions a database for you. With this setup, you typically don't have control over the infrastructure the API server and database are running on.
94+
With a BaaS, you can typically configure your data model via a high-level API (e.g. [GraphQL SDL (Schema Definition Language)](https://www.prisma.io/blog/graphql-sdl-schema-definition-language-6755bcb9ce51)) or a visual editor. Based on this data model, the BaaS generates a CRUD API and provisions a database for you. With this setup, you typically don't have control over the infrastructure the API server and database are running on.
9595

9696
With Prisma ORM, you are building the backend yourself using Node.js or TypeScript. This means you'll have to do a lot more coding work compared to using a BaaS. The benefit of this approach is that you have full flexibility for building, deploying, scaling and maintaining your backend and are not dependent on 3rd party software for a crucial part of your stack.
9797

content/200-orm/050-overview/100-introduction/300-data-modeling.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ const user = await User.findByPk(42)
173173

174174
The call to `findByPk` creates a SQL statement to retrieve the `User` record that's identified by the ID value `42`.
175175

176-
The resulting `user` object is an instance of Sequelize's `Model` class (because `User` inherits from `Model`). It's not a POJO, but an object that implements additional behavior from Sequelize.
176+
The resulting `user` object is an instance of Sequelize's `Model` class (because `User` inherits from `Model`). It's not a POJO (Plain Old JavaScript Object), but an object that implements additional behavior from Sequelize.
177177

178178
## Data modeling with Prisma ORM
179179

0 commit comments

Comments
 (0)