Function beginWork
Parameters
Optional
options: WorkOptions
Returns Promise<WorkObject>
An AsyncDisposable work object that can be used with 'await using' to automatically rollback the work if not yet committed
Optional
options: WorkOptionsAn AsyncDisposable work object that can be used with 'await using' to automatically rollback the work if not yet committed
Begins a new transaction. Throws when a transaction is already in progress