kura_tenant (kura v2.20.12)
View SourceProcess dictionary-based multitenancy. Stores the current tenant strategy (schema prefix or attribute filter) in the process dictionary for use by Kura repo operations.
Summary
Functions
Remove the current tenant strategy from the process dictionary.
Get the current tenant strategy from the process dictionary.
Set the current tenant strategy in the process dictionary.
Execute a function with a temporary tenant, restoring the previous tenant after.
Types
Functions
-spec clear_tenant() -> undefined | strategy().
Remove the current tenant strategy from the process dictionary.
-spec get_tenant() -> undefined | strategy().
Get the current tenant strategy from the process dictionary.
Set the current tenant strategy in the process dictionary.
Execute a function with a temporary tenant, restoring the previous tenant after.