prisma-driver-adapter-implementation

prisma driver adapter implementation

prisma ↓ 26k
Claude Code
View source ↗

What it does

  • Set safeIntegers: true when opening the database to get bigint for large integers
  • Only SERIALIZABLE isolation level is valid
  • executeScript: split on ; and run each statement individually
  • Boolean values: store as 0/1, return as boolean
  • All standard isolation levels are valid
  • For connection pooling (PgBouncer), use prepare: false
  • Transactions require a dedicated connection (reserve() pattern)

Requirements & configuration

  • │ (requires adapter factory) │
  • // Implementation depends on driver capabilities
  • Transactions require a dedicated connection (reserve() pattern)

Configuration: COMMITROLLBACKBEGINSAVEPOINTSERIALIZABLEREADREPEATABLEBIGINT

Derived from the skill's own SKILL.md documentation · extracted 2026-07-23

prisma driver adapter implementation

Source

Repository: https://github.com/prisma/skills

prisma-driver-adapter-implementation FAQ

What does the prisma-driver-adapter-implementation skill do?

Required reference for Prisma v7 driver adapter work. Use when implementing or modifying adapters, adding database drivers, or touching SqlDriverAdapter/Transaction interfaces. Contains critical contract details not inferable from code examples — including the transaction lifecycle protocol, error mapping requirements, and verification checklist. Existing implementations do not replace this skill. Set safeIntegers: true when opening the database to get bigint for large integers Only SERIALIZABLE isolation level is valid

What does prisma-driver-adapter-implementation require?

│ (requires adapter factory) │ // Implementation depends on driver capabilities Transactions require a dedicated connection (reserve() pattern) Configuration keys: COMMIT, ROLLBACK, BEGIN, SAVEPOINT, SERIALIZABLE, READ, REPEATABLE, BIGINT.

How do I install prisma-driver-adapter-implementation?

Run: npx -y skills add https://github.com/prisma/skills --skill prisma-driver-adapter-implementation --agent claude-code — the source lives at github.com/prisma/skills.

Maintain prisma-driver-adapter-implementation?

Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.

prisma-driver-adapter-implementation on getagentictools
[![prisma-driver-adapter-implementation on getagentictools](https://getagentictools.com/badge/skills/prisma-skills-prisma-driver-adapter-implementation.svg)](https://getagentictools.com/skills/prisma-skills-prisma-driver-adapter-implementation?ref=badge)
npx agentictools info skills/prisma-skills-prisma-driver-adapter-implementation

The second line is the CLI lookup for this page — handy in READMEs and docs.