Documentation
Preparing search index...
@saltcorn/db-common
sqlite-commons
openOrUseTransaction
Function openOrUseTransaction
openOrUseTransaction
(
f
:
Function
,
onError
:
Function
)
:
Promise
<
any
>
just a wrapper for withTransaction for pg compatibility
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