Documentation
Preparing search index...
@saltcorn/db-common
sqlite-commons
tryCatchInTransaction
Function tryCatchInTransaction
tryCatchInTransaction
(
f
:
Function
,
onError
:
Function
)
:
Promise
<
any
>
simulate the pg with rollback behavior
Parameters
f
:
Function
code to run
onError
:
Function
error callback
Returns
Promise
<
any
>
result of f
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Documentation
Loading...
simulate the pg with rollback behavior