P
Prisma4mo ago
Nonot

Finding model constraints in code

Hello, I'm looking for a way to find the foreign keys of a model in the Prisma client. Not by typing but in JS. I can't find anything, even after digging into the engine...
2 Replies
Nonot
NonotOP4mo ago
found my answers ! thanks to kapa.ai here my ugly code to determine which model depends on others
Nonot
NonotOP4mo ago
Want results from more Discord servers?
Add your server