© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•4y ago•
14 replies
valentin

can't retrieve one to many relationship

Hi, I was looking at the Supabase tutorial(and the docs) on how to retrieve a one to many relationship, but what I did didn't work(response was null)
I have a user table and a friends table, and I would like to get the name of every friend of a specific user, the thing is that the friends name has to be searched in the users table because I only store the added friend's uuid in the friends table. So I'd like to have an Object with the UUID aswell as the users name to be able to map a component with that data.
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

RLS One to many relationship
SupabaseSSupabase / help-and-questions
4y ago
how to stream one to many relationship?
SupabaseSSupabase / help-and-questions
4y ago
One-to-one relationship
SupabaseSSupabase / help-and-questions
4y ago
Foreign key relationship isn't one to one
SupabaseSSupabase / help-and-questions
3mo ago