interface TenantCacheOptions

Options for cache-prefix stamping.

Properties

optional
prefix: boolean

When true, write the resolved prefix into ctx.state.

optional
separator: string

Separator between tenant id and key (default ':').

Usage

import { type TenantCacheOptions } from "multi-tenancy-plugin/src/index.ts";