MCPcopy
hub / github.com/prisma/prisma / isWasmEngineSupported

Function isWasmEngineSupported

packages/client-generator-js/src/generateClient.ts:427–436  ·  view source on GitHub ↗
(provider: ConnectorType)

Source from the content-addressed store, hash-verified

425}
426
427function isWasmEngineSupported(provider: ConnectorType) {
428 return (
429 provider === 'postgresql' ||
430 provider === 'postgres' ||
431 provider === 'cockroachdb' ||
432 provider === 'mysql' ||
433 provider === 'sqlite' ||
434 provider === 'sqlserver'
435 )
436}
437
438function validateDmmfAgainstDenylists(prismaClientDmmf: DMMF.Document): Error[] | null {
439 const errorArray = [] as Error[]

Callers 1

generateClientFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected