Skip to content

Connect

Source: src/Prisma/Connect.ts

Bind a Connection to a Prisma Compute app, AWS Lambda Function, or Cloudflare Worker and obtain the typed runtime client.

Connect is a single identifier that is simultaneously the binding’s Context tag, its type, and the callable — yield* Prisma.Connect(connection).