LogoClawIndex
CasesSkillsAbout
LogoClawIndex

prisma-driver-adapter-implementation - Prisma SQL Driver Adapter Implementation Guide

Provides rules and patterns for implementing Prisma ORM 7 SQL driver adapters, handling transactions, savepoints, result mapping, and database error mapping.

Tags

Updated: 2026-09-24
prismadriver-adaptersqldatabaseormtypescript

Capabilities

Implement SQL driver adapter interfacesManage transaction lifecycle and connectionsHandle nested transaction savepointsMap query arguments and result metadata

Typical Inputs

Prisma driver adapter utils packageTarget database driver connection or poolSQL queries and argument types

Typical Outputs

SqlDriverAdapter instanceTransaction instanceMapped SqlResultSet object

What this skill does

  • Implement SQL driver adapter interfaces
  • Manage transaction lifecycle and connections
  • Handle nested transaction savepoints
  • Map query arguments and result metadata
  • Execute database migration scripts
  • Map driver errors to DriverAdapterError
  • Manage shadow database lifecycle

Inputs

  • Prisma driver adapter utils package
  • Target database driver connection or pool
  • SQL queries and argument types
  • Migration SQL scripts

Outputs

  • SqlDriverAdapter instance
  • Transaction instance
  • Mapped SqlResultSet object
  • Wrapped DriverAdapterError instance
  • Isolated shadow database connection

Requirements

  • Node.js runtime environment
  • Prisma ORM 7
  • @prisma/driver-adapter-utils package
  • Compatible SQL database driver

Source

  • Spec: SKILL.md

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.