Prisma ORM
Database / data tool · Free
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.
Also known as: prisma/prisma

What you can use for free
Code and local use under Apache-2.0.
Paid features and costs
Compute, your own hosting, and external services are paid for separately if selected.
Access and limitations
Code and local use under Apache-2.0. Compute, your own hosting, and external services are paid for separately if selected.
Use cases
- Create a typed SQL data layer
- Prepare a migration and run a query through the generated Prisma client
Example workflow
A possible workflow; this is not a report of hands-on testing.
Create a typed SQL data layer.
Before you start
- A schema, test dataset, and queries.
- A supported database or runtime.
Steps
- 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.
Check your result
- Query results match the reference data.
- Check access permissions, backup recovery, and load before production use.
Choosing Prisma ORM
Create a typed SQL data layer
Choose this when
- Create a typed SQL data layer
- Prepare a migration and run a query through the generated Prisma client
Requirements
- 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.
Things to consider
- 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.
Frequently asked questions
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.
Related tasks and approaches
License
Apache-2.0: code; third-party components retain their own terms.
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 termsTechnologies and topics
- Prisma ORM
- database
- Development