Browse modulesTenancyInterfaces
Interface: ScopeableClient
Defined in: server/tenancy/client.ts:128
Minimal structural view of a Prisma client: it can $extends a query
extension and returns a client of the same shape. A generated PrismaClient
satisfies this; typing it structurally keeps tenancy schema-agnostic (like
the persistence lane) instead of importing a specific generated client.
Methods
$extends()
$extends(extension: TenantQueryExtension): ScopeableClient;Defined in: server/tenancy/client.ts:129
Parameters
| Parameter | Type |
|---|---|
extension | TenantQueryExtension |
Returns
ScopeableClient