MCPcopy
hub / github.com/prisma/prisma / cleanup

Method cleanup

packages/adapter-mariadb/src/mariadb.ts:184–186  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

182 conn.on('error', onError)
183
184 const cleanup = () => {
185 conn.removeListener('error', onError)
186 }
187
188 try {
189 const tx = new MariaDbTransaction(conn, this.mariadbOptions, options, cleanup)

Callers 2

commitMethod · 0.45
rollbackMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected