Documentation
Preparing search index...
@saltcorn/sqlite
openOrUseTransaction
Variable openOrUseTransaction
Const
openOrUseTransaction
:
(
f
:
Function
,
onError
:
Function
)
=>
Promise
<
any
>
just a wrapper for withTransaction for pg compatibility
Type Declaration
(
f
:
Function
,
onError
:
Function
)
:
Promise
<
any
>
Parameters
f
:
Function
logic to run
onError
:
Function
error callback
Returns
Promise
<
any
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Documentation
Loading...
just a wrapper for withTransaction for pg compatibility