Join Slack
Powered by
Hi everybody. ! How can i make a many to many rel...
# orm-help
y
Yazid Daoudi
10/30/2021, 5:28 PM
Hi everybody. ! How can i make a many to many relation for the same table. ? For exemple, I've a User table and i want to make a Friends table as : a user has many friends as user
r
Ryan
11/01/2021, 7:15 AM
@Yazid Daoudi
👋 Have a look at this:
https://www.prisma.io/docs/concepts/components/prisma-schema/relations/self-relations#many-to-many-self-relations
y
Yazid Daoudi
11/02/2021, 5:24 PM
thanks ❤️
👍 1
r
Ryan
11/03/2021, 6:07 AM
Did that work?
Open in Slack
Previous
Next