Hello ;)
I am just trying to find out how to access the triple comments "///" I put into my schema definition. Where are they located when I make console.log(prisma)?
r
Ryan
07/14/2021, 1:59 PM
That should be available in the dmmf property inside the specific models and you can access it like this:
Copy code
const prisma = new PrismaClient()
console.log(prisma._dmmf)
c
Cornelius
07/14/2021, 2:04 PM
Already tried that, but I will try again and have a deeper look. Maybe I overlooked it.
👍 1
Cornelius
07/14/2021, 2:04 PM
Thank you. I will send you a response if I had no luck ;)
💯 1
Cornelius
07/14/2021, 3:51 PM
Ohhhh Man... Yep I overlooked it. It was exactly there where I thought it should be.