Hey guys, what does the prisma schema look like fo...
# orm-help
w
Hey guys, what does the prisma schema look like for a situation where two users are friends? This is essentially a many to many relationship but with the table on itself. I'm very confused.
w
ty sir i must get better at being resourceufl
@ibash how do i get good at sql queries
i
struggling 😛 IMO a large part of it is having the right mental models and being able to picture what’s going on.
if you ever hit performance issues, this book is great: https://sql-performance-explained.com it’s super short but gives you a reasonable understanding of how stuff under the hood affects performance
w
ty very much i will check it out