DanMossa
04/22/2022, 12:27 AMSELECT u.first_name, u.date_of_birth, u.profile_picture_urls
FROM public.users u
JOIN likes l on u.user_id = l.to_user_id
WHERE l.from_user_id = '34fca6cd-4c6e-49f5-87c7-e0e3ff461509'
I did something like this as a test
final PostgrestResponse res = await _supabase.client
.from(_users)
.select('*, likes!inner(*)')
.eq("likes.from_user_id", callingUser.userId)
.execute();
but I'm getting an error because there are multiple foreign keys. Any ideas?Needle
04/22/2022, 12:27 AM/title
command!
We have solved your problem?
Click the button below to archive it.Needle
04/22/2022, 12:27 AMgaryaustin
04/22/2022, 12:39 AMNeedle
04/22/2022, 12:39 AMDanMossa
04/22/2022, 1:17 AMgaryaustin
04/22/2022, 1:41 AMDanMossa
04/24/2022, 4:04 AMDanMossa
04/24/2022, 4:05 AMDanMossa
04/26/2022, 12:39 AMNeedle
04/26/2022, 4:46 AM