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
found my answers ! thanks to kapa.ai
here my ugly code to determine which model depends on others