MCPcopy
hub / github.com/prisma/prisma / extractSchemaContent

Function extractSchemaContent

packages/internals/src/utils/schemaFileInput.ts:3–5  ·  view source on GitHub ↗
(multipleSchemas: MultipleSchemas)

Source from the content-addressed store, hash-verified

1import type { MultipleSchemas } from '@prisma/get-dmmf'
2
3export function extractSchemaContent(multipleSchemas: MultipleSchemas): string[] {
4 return multipleSchemas.map(([, content]) => content)
5}

Callers 3

testAgainstPreformattedFunction · 0.90
Format.test.tsFile · 0.90

Calls

no outgoing calls

Tested by 1

testAgainstPreformattedFunction · 0.72