NiwenPrism
object NiwenPrism
An internal, extremely hacky parser for Prisma schema file. The main objective is to retrieve @db.xyz
attributes.
Prisma does not expose all attributes through its DMMF (the model passed to generators like PrismaKT), so we have to resort to this to retrieve proper types.
Functions
Link copied to clipboard
Parse a list of tokens to a parser result of PRoot, with debug information enabled.