Skip to content
Platform Control Plane

tenant-store

Tenant-bound key/value cache for lookups too hot for the database. Auto-invalidates on tenant settings change.

packages/platform/tenant-store · Source ↗ · Docs ↗

postgres · RLS
tenant scope
SET LOCAL app.tenant_id = 'org_abc123';
SELECT * FROM posts;
-- → 12 rows (tenant_abc only)
tenant_abc · 12 rowstenant_xyz · hidden
withTenant()AsyncLocalStorage scope