()
| 292 | ) |
| 293 | } |
| 294 | get commit() { |
| 295 | return Effect.tryPromise({ |
| 296 | try: () => (this.sdk as Libsql.Transaction).commit(), |
| 297 | catch: (cause) => |
| 298 | new SqlError({ reason: classifyError(cause, "Failed to commit transaction", "commitTransaction") }) |
| 299 | }) |
| 300 | } |
| 301 | get rollback() { |
| 302 | return Effect.tryPromise({ |
| 303 | try: () => (this.sdk as Libsql.Transaction).rollback(), |
nothing calls this directly
no test coverage detected