Documentation
Preparing search index...
@saltcorn/db-common
multi-tenant
runWithTenant
Function runWithTenant
runWithTenant
<
Type
>
(
tenantOrMore
:
string
|
RequestContext
,
f
:
()
=>
Promise
<
Type
>
,
)
:
Promise
<
Type
>
Run function with tenant
Type Parameters
Type
Parameters
tenantOrMore
:
string
|
RequestContext
f
:
()
=>
Promise
<
Type
>
Returns
Promise
<
Type
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Documentation
Loading...
Run function with tenant