# Prisma ORM

[BASE product page](<https://base.akulich.dev/en/library/prisma-orm/>) · [Resource](<https://github.com/prisma/prisma>)

ID: prisma\-orm · Language: en
Schema version: 1 · Data version: cbbe7123b47a5ae80983

This is editorial data. An unknown field neither confirms nor rules out a capability.
dataVersion is a dataset fingerprint, not evidence of a recent fact check.

An ORM for Node\.js and TypeScript with a typed client and migrations: it describes the data model and helps work with an SQL database\.

## Type

Database / data tool

## Entry type

tool

## Separate catalog

No

## [Access conditions](<https://base.akulich.dev/en/library/prisma-orm/#resource-access>)

free

## [What you can use for free](<https://base.akulich.dev/en/library/prisma-orm/#resource-access>)

Code and local use under Apache\-2\.0\.

## [Paid features and costs](<https://base.akulich.dev/en/library/prisma-orm/#resource-access>)

Compute, your own hosting, and external services are paid for separately if selected\.

## [Access and limitations](<https://base.akulich.dev/en/library/prisma-orm/#resource-access>)

Code and local use under Apache\-2\.0\. Compute, your own hosting, and external services are paid for separately if selected\.

## [Use cases](<https://base.akulich.dev/en/library/prisma-orm/#resource-tasks>)

- Create a typed SQL data layer
- Prepare a migration and run a query through the generated Prisma client

## Category IDs

- backend

## Subcategory IDs

- backend\.databases

## Tags

- Prisma ORM
- database
- Development

## Also known as

- prisma/prisma

## [Selection purpose](<https://base.akulich.dev/en/library/prisma-orm/#resource-selection>)

Create a typed SQL data layer

## [Choose this when](<https://base.akulich.dev/en/library/prisma-orm/#resource-selection>)

- Create a typed SQL data layer
- Prepare a migration and run a query through the generated Prisma client

## [Requirements](<https://base.akulich.dev/en/library/prisma-orm/#resource-selection>)

- For branch 7, the README separates schema, generator/output, and prisma\.config\.ts\. Prisma ORM does not load \.env automatically: the example explicitly imports dotenv/config or uses an env\-file runtime\.

## [Limitations](<https://base.akulich.dev/en/library/prisma-orm/#resource-selection>)

- Costs and limits of free use: Compute, your own hosting, and external services are paid for separately if selected\.
- Terms of use: Apache\-2\.0: code; third\-party components retain their own terms\.
- The default README describes a Prisma 8 release candidate with separate requirements and PostgreSQL/MongoDB; SQLite is still a proof of concept there, while MySQL is planned\. These restrictions should not be applied to supported branch 7\.

## [Questions before use](<https://base.akulich.dev/en/library/prisma-orm/#resource-faq>)

### What can you use for free in Prisma ORM?

Code and local use under Apache\-2\.0\.

### What additional costs might arise with Prisma ORM?

Compute, your own hosting, and external services are paid for separately if selected\.

### What terms of use matter for Prisma ORM?

Apache\-2\.0: code; third\-party components retain their own terms\.

### How do you get started with Prisma ORM?

Define models and relationships in the project schema\. Prepare a migration and run a query through the generated Prisma client\. Check schema changes, indexes, and data recovery\.

### What is required after changing a Prisma schema in branch 7?

After changing a model, run prisma generate again: the command reads the schema and creates Client in generator\.output\. prisma\.config\.ts specifies the database connection; the PostgreSQL Client example passes a driver adapter\.

## Sources for the selection guide

- [https://github\.com/prisma/prisma](<https://github.com/prisma/prisma>)
- [https://raw\.githubusercontent\.com/prisma/prisma/HEAD/README\.md](<https://raw.githubusercontent.com/prisma/prisma/HEAD/README.md>)
- [https://raw\.githubusercontent\.com/prisma/prisma/HEAD/LICENSE](<https://raw.githubusercontent.com/prisma/prisma/HEAD/LICENSE>)
- [https://www\.reddit\.com/r/opensource/comments/o1019p/my\_top\_10\_favourite\_open\_source\_development\_tools/](<https://www.reddit.com/r/opensource/comments/o1019p/my_top_10_favourite_open_source_development_tools/>)
- [https://raw\.githubusercontent\.com/prisma/prisma/v7/README\.md](<https://raw.githubusercontent.com/prisma/prisma/v7/README.md>)
- [https://raw\.githubusercontent\.com/prisma/prisma/v7/LICENSE](<https://raw.githubusercontent.com/prisma/prisma/v7/LICENSE>)

## [Possible workflow](<https://base.akulich.dev/en/library/prisma-orm/#resource-scenario>)

Create a typed SQL data layer\.

A possible workflow; this is not a report of hands-on testing.

## Before you start

- A schema, test dataset, and queries\.
- A supported database or runtime\.

## Steps

1. Define models and relationships in the project schema\.
2. Prepare a migration and run a query through the generated Prisma client\.
3. Check schema changes, indexes, and data recovery\.

## Check your result

- Query results match the reference data\.
- Check access permissions, backup recovery, and load before production use\.

## [License](<https://base.akulich.dev/en/library/prisma-orm/#resource-license>)

Apache\-2\.0: code; third\-party components retain their own terms\.

## License explanations for the specified scope

### Apache 2\.0 — permissive license with patent terms

You can use and modify the code in commercial and closed\-source projects\. When distributing it, retain the license and relevant notices, identify modified files, and include NOTICE if provided\. Authors grant a limited patent license for their contributions; it does not grant permission to use trademarks\.

[License terms](<https://www.apache.org/licenses/LICENSE-2.0>)

## [Sources](<https://base.akulich.dev/en/library/prisma-orm/#resource-sources>)

- [Official source](<https://github.com/prisma/prisma>)
- [Official source](<https://raw.githubusercontent.com/prisma/prisma/HEAD/README.md>)
- [License](<https://raw.githubusercontent.com/prisma/prisma/HEAD/LICENSE>)
- [Catalog / discovery source](<https://www.reddit.com/r/opensource/comments/o1019p/my_top_10_favourite_open_source_development_tools/>)
- [Official source](<https://raw.githubusercontent.com/prisma/prisma/v7/README.md>)
- [Official source](<https://raw.githubusercontent.com/prisma/prisma/v7/LICENSE>)

## Editorial review date

2026\-10\-06

## Editorial review scope

Purpose, the current repository license, and the boundaries between code, services, and models were reviewed\. The product was not run or security\-audited\.

Dates refer to the stated editorial review, not hands-on testing, a product update, or a recent review of all sources.
