MCPcopy
hub / github.com/Effect-TS/effect / rollback

Method rollback

packages/sql-libsql/src/LibsqlClient.ts:218–223  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

216 })
217 }
218 get rollback() {
219 return Effect.tryPromise({
220 try: () => (this.sdk as Libsql.Transaction).rollback(),
221 catch: (cause) => new SqlError({ cause, message: "Failed to rollback transaction" })
222 })
223 }
224 }
225
226 const connection = "liveClient" in options

Callers 2

makeWithTransactionFunction · 0.80
makeFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected