Preparing search index...
The search index is not available
saltcorn-monorepo
saltcorn-monorepo
@saltcorn/db-common
multi_tenant
runWithTenant
Function runWithTenant
run
With
Tenant
<
Type
>
(
tenant
,
f
)
:
Promise
<
Type
>
Run function with tenant
Type Parameters
Type
Parameters
tenant
:
string
f
:
(
(
)
=>
Promise
<
Type
>
)
(
)
:
Promise
<
Type
>
Returns
Promise
<
Type
>
Returns
Promise
<
Type
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
saltcorn-
monorepo
@saltcorn/admin-
models
@saltcorn/common-
code
@saltcorn/data
@saltcorn/db-
common
multi_
tenant
tenant
Namespace
enable_
multi_
tenant
get
Tenant
Schema
init
is_
it_
multi_
tenant
run
With
Tenant
single_
tenant
Aggregation
Options
Coord
Opts
Join
Field
Join
Fields
Join
Options
Json
Path
Json
Path
Elem
Operator
Row
Select
Options
Sql
And
Values
Subselect
Options
Value
Where
tenants
build
Insert
Bulk
Sql
build
Insert
Sql
do
Count
do
Delete
Where
do
List
Sc
Tables
do
List
Tables
do
List
User
Defined
Tables
do_
add_
index
do_
drop_
index
mk
Select
Options
mk
Val
mk
Where
order
By
Is
Object
order
By
Is
Operator
prefix
Fields
In
Where
repr
As
Json
sql
Bin
Op
sql
Fun
sqlsanitize
sqlsanitize
Allow
Dots
sub
Select
Where
@saltcorn/markup
@saltcorn/mobile-
builder
@saltcorn/sqlite
@saltcorn/sqlite-
mobile
@saltcorn/types
Generated using
TypeDoc
Run function with tenant