MCPcopy
hub / github.com/prisma/prisma / commit

Method commit

packages/adapter-pg/src/pg.ts:147–152  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

145 }
146
147 async commit(): Promise<void> {
148 debug(`[js::commit]`)
149
150 this.cleanup?.()
151 this.client.release()
152 }
153
154 async rollback(): Promise<void> {
155 debug(`[js::rollback]`)

Callers

nothing calls this directly

Calls 3

debugFunction · 0.85
releaseMethod · 0.80
cleanupMethod · 0.45

Tested by

no test coverage detected