UnitOfWork.prototype.rollback(): Promise<void>
Roll back the transaction. Called automatically by DatabaseService
on errors, but can also be called explicitly.
UnitOfWork.prototype.rollback(): Promise<void>
Roll back the transaction. Called automatically by DatabaseService
on errors, but can also be called explicitly.
import { UnitOfWork } from "database-plugin/src/index.ts";