dmmf
Converts a Prisma datamodel + Schema into the DMMF
Usage
import DMMF from '@prisma/dmmf'
const datamodel = `` // Datamodel string
const schema = {} // Prisma server introspection response
const dmmf = new DMMF(datamodel, schema)
This package has been deprecated
Author message:
Deprecated
Converts a Prisma datamodel + Schema into the DMMF
import DMMF from '@prisma/dmmf'
const datamodel = `` // Datamodel string
const schema = {} // Prisma server introspection response
const dmmf = new DMMF(datamodel, schema)
npm i @prisma/dmmf
2
0.1.26
none
61.4 kB
64