Join Slack
Powered by
Hello, qq, is there a way to have M-M self relatio...
# orm-help
h
Hector
09/16/2021, 5:56 PM
Hello, qq, is there a way to have M-M self relations with a relational table between that hosts metadata of the relations?
Hector
09/16/2021, 6:08 PM
nvm found it!
https://www.prisma.io/docs/concepts/components/prisma-schema/relations/self-relations#many-to-many-self-relations
c
Chris Tsongas
09/16/2021, 6:11 PM
Yeah the trick is to give each relation a different name.
💯 1
h
Hector
09/16/2021, 6:22 PM
yup that was precisely what I was missing hehe
4
Views
Open in Slack
Previous
Next