{"schemaVersion":1,"id":"prisma-orm","name":"Prisma ORM","locale":"en","canonicalUrl":"https://base.akulich.dev/en/library/prisma-orm/","officialUrl":"https://github.com/prisma/prisma","isCatalog":false,"description":"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.","tasks":["Create a typed SQL data layer","Prepare a migration and run a query through the generated Prisma client"],"categoryIds":["backend"],"subcategoryIds":["backend.databases"],"tags":["Prisma ORM","database","Development"],"aliases":["prisma/prisma"],"platforms":[],"stack":[],"compatibility":null,"pricing":"free","freeUsage":"Code and local use under Apache-2.0.","paidUsage":"Compute, your own hosting, and external services are paid for separately if selected.","license":"Apache-2.0: code; third-party components retain their own terms.","selectionGuide":{"purpose":"Create a typed SQL data layer","chooseWhen":["Create a typed SQL data layer","Prepare a migration and run a query through the generated Prisma client"],"considerInstead":[],"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."],"limitations":["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."],"faq":[{"question":"What can you use for free in Prisma ORM?","answer":"Code and local use under Apache-2.0."},{"question":"What additional costs might arise with Prisma ORM?","answer":"Compute, your own hosting, and external services are paid for separately if selected."},{"question":"What terms of use matter for Prisma ORM?","answer":"Apache-2.0: code; third-party components retain their own terms."},{"question":"How do you get started with Prisma ORM?","answer":"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."},{"question":"What is required after changing a Prisma schema in branch 7?","answer":"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":[],"sources":["https://github.com/prisma/prisma","https://raw.githubusercontent.com/prisma/prisma/HEAD/README.md","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://raw.githubusercontent.com/prisma/prisma/v7/README.md","https://raw.githubusercontent.com/prisma/prisma/v7/LICENSE"]},"selectionCheckedAt":null,"applicationGuide":{"goal":"Create a typed SQL data layer.","inputs":["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."],"checks":["Query results match the reference data.","Check access permissions, backup recovery, and load before production use."]},"sources":["https://github.com/prisma/prisma","https://raw.githubusercontent.com/prisma/prisma/HEAD/README.md","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://raw.githubusercontent.com/prisma/prisma/v7/README.md","https://raw.githubusercontent.com/prisma/prisma/v7/LICENSE"],"checkedAt":"2026-10-06","reviewScope":"Purpose, the current repository license, and the boundaries between code, services, and models were reviewed. The product was not run or security-audited.","relatedIds":[],"dataVersion":"cbbe7123b47a5ae80983","type":"Database / data tool","kind":"tool","pricingNote":"Code and local use under Apache-2.0. Compute, your own hosting, and external services are paid for separately if selected.","notes":null,"labeledSources":[{"url":"https://github.com/prisma/prisma","label":"Official source"},{"url":"https://raw.githubusercontent.com/prisma/prisma/HEAD/README.md","label":"Official source"},{"url":"https://raw.githubusercontent.com/prisma/prisma/HEAD/LICENSE","label":"License"},{"url":"https://www.reddit.com/r/opensource/comments/o1019p/my_top_10_favourite_open_source_development_tools/","label":"Catalog / discovery source"},{"url":"https://raw.githubusercontent.com/prisma/prisma/v7/README.md","label":"Official source"},{"url":"https://raw.githubusercontent.com/prisma/prisma/v7/LICENSE","label":"Official source"}],"licenseGuides":[{"id":"apache-2","title":"Apache 2.0 — permissive license with patent terms","scope":null,"summary":"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.","url":"https://www.apache.org/licenses/LICENSE-2.0"}],"entryIds":[],"composition":null}