MCPcopy
hub / github.com/prisma/prisma / createSavepoint

Method createSavepoint

packages/adapter-ppg/src/ppg.ts:191–193  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

189 }
190
191 async createSavepoint(name: string): Promise<void> {
192 await this.executeRaw({ sql: `SAVEPOINT ${name}`, args: [], argTypes: [] })
193 }
194
195 async rollbackToSavepoint(name: string): Promise<void> {
196 await this.executeRaw({ sql: `ROLLBACK TO SAVEPOINT ${name}`, args: [], argTypes: [] })

Callers

nothing calls this directly

Calls 1

executeRawMethod · 0.95

Tested by

no test coverage detected