Prisma ORM for Node.js is ready for production

Prisma, an open up resource object-relational mapping (ORM) toolset for Node.js and TypeScript, is now

Prisma, an open up resource object-relational mapping (ORM) toolset for Node.js and TypeScript, is now out there as a production release. Meant to address the bottleneck of functioning with relational databases, Prisma supports MySQL, PostgreSQL, SQLite, and SQL Server (in preview), with a connector for MongoDB in the will work.

Unveiling the system on April 21 following two several years of progress, Prisma, the corporation driving the technological innovation, described functioning with databases as just one of the most tough spots of software progress. Info modeling, schema migrations, and composing database queries are frequent tasks for developers. The corporation contends that the Node.js ecosystem does not present equipment to deal with these tasks Prism is supposed to help fill this niche.

Prism claimed developers need to treatment about knowledge instead than SQL. The Prisma ORM delivers a variety-harmless API for distributing database queries, returning basic aged JavaScript objects. 3 equipment are featured, which can be employed with each other or independently in any Node.js or TypeScript undertaking:

  • Prisma Customer, an vehicle-generated, variety-harmless query builder for Node.js and TypeScript.
  • Prisma Migrate, an crucial database schema migration instrument to preserve a database schema in sync with a Prism schema and sustain existing knowledge in a database.
  • Prisma Studio, a GUI to see and edit knowledge in a database.

Each individual undertaking that utilizes Prisma starts off with a Prisma schema file, with the schema enabling developers to define software designs in an intuitive knowledge modeling language. The schema enables configuration of the knowledge resource, generator, and knowledge model. These designs map to a table in the underlying database. Guidance location up Prisma can be discovered at www.prisma.io.

Copyright © 2021 IDG Communications, Inc.