MCPcopy
hub / github.com/prisma/prisma / getInternalDMMF

Function getInternalDMMF

packages/internals/src/engine-commands/getDmmf.ts:58–60  ·  view source on GitHub ↗
(options: GetDMMFOptions)

Source from the content-addressed store, hash-verified

56}
57
58export async function getInternalDMMF(options: GetDMMFOptions): Promise<DMMF.Document> {
59 return Promise.resolve(handleGetDmmfResult(getInternalDMMFRaw(options)))
60}
61
62function handleGetDmmfResult(result: ReturnType<typeof getDMMFRaw>): DMMF.Document {
63 if ('error' in result) {

Callers

nothing calls this directly

Calls 1

handleGetDmmfResultFunction · 0.85

Tested by

no test coverage detected