P
Prisma2mo 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
Nonot2mo ago
found my answers ! thanks to kapa.ai here my ugly code to determine which model depends on others
Want results from more Discord servers?
Add your server