Prisma is an ORM(Object-Relational Mapping) that helps app developers build faster and make fewer errors. It transforms entries in a database into objects in code. Prisma reduces the complexities of working with the database by handling type-safety, schema migrations, query optimization and the actual interactions between your code and the database. Like Workers does for computing at the edge, Prisma makes managing your database dead-simple. Prisma currently supports Postgres, MySQL, SQL Server, SQLite and MongoDB.
Cloudflare has launched a partnership for global data with Prisma to enable developers to use supported databases. Prisma integrates with Workers via the Prisma Data Proxy. After setting up the Proxy, developers can import the Prisma client into Workers script and define a schema to begin using any of the supported databases!
Learn about Cloudflare’s partnership with Prisma in this announcement blog post.
Learn more about how to deploy Prisma to Cloudflare Workers
利用開始
リソース