Prisma
lastmod 2020-06-12created 2020-06-123 edits
Modern Database Access for TypeScript & Node.js
Prisma is an open-source database toolkit. It replaces traditional ORMs and makes database access easy with an auto-generated query builder for TypeScript & Node.js.
Features
- Replaces traditional ORMs and makes DB access easy
- Supports PostgreSQL, MySQL, SQLite
- Improves productivity, performance, and safety for Node.js + TypeScript developers
- Pros
- Handles data as objects (different from ORMs)
- Intuitive handling of relations
- Declarative, readable DB schema
- Autocompletion for DB queries
- Typesafe queries
- The query API is generated from the DB schema, so when the schema changes, you just regenerate the API and the changes are applied automatically
- The Prisma client is compatible with REST, GraphQL, Thrift, gRPC