Skip to content

createTenantBackstop

reference
1 min readUpdated

Kind: Function

Source: atloria-monorepo/libs/database/src/lib/tenant-backstop.ts

Build the extension config object to pass to prisma.$extends(...). Kept as a plain factory (no Prisma import) so it is trivially unit-testable with a fake query.

Signature

ts
function createTenantBackstop(options: TenantBackstopOptions)

Parameters

NameType
optionsTenantBackstopOptions

Was this page helpful?

Download as PDF