basalt / prisma/src / schemaUrl
Function: schemaUrl()
> schemaUrl(baseUrl, schema): string
Defined in: prisma/src/schema.ts:86
Returns the connection URL with its schema set to schema. Prisma reads this to set the connection's search_path — the reliable way to do schema-per-tenant (per-connection search_path switching on a shared pool is not dependable with Prisma).
Parameters
baseUrl
string
schema
string
Returns
string