jianjie
08/07/2021, 9:25 AMPoypoypoy
08/07/2021, 9:25 AMPoypoypoy
08/07/2021, 9:26 AMs u s h i
08/07/2021, 3:00 PMsherlock
08/07/2021, 3:08 PMPoypoypoy
08/07/2021, 3:37 PMKosh
08/07/2021, 3:45 PMHoXsan
08/07/2021, 6:22 PMnicholaschiang
08/07/2021, 6:24 PMsupabase.rpc
) that will run the following query?
pgsql
select distinct on (view_users.id) view_users.*
from relation_meeting_people relation_meeting_people1
join relation_meeting_people relation_meeting_people2
on relation_meeting_people1.meeting = relation_meeting_people2.meeting
join view_users
on relation_meeting_people2.user = view_users.id
where relation_meeting_people1.user = 'p5W8EB2YKReYAJz334UGMDi6m9H2';
And will replace 'p5W8EB2YKReYAJz334UGMDi6m9H2'
with the user_id
passed to the function?nicholaschiang
08/07/2021, 6:44 PMburggraf
08/07/2021, 8:07 PMerik_flywheel
08/07/2021, 9:49 PMerik_flywheel
08/07/2021, 9:50 PMerik_flywheel
08/07/2021, 9:51 PMs u s h i
08/08/2021, 12:19 AMjavascript
const user = supabase.auth.user()
s u s h i
08/08/2021, 12:20 AMDots
08/08/2021, 2:31 AMPoypoypoy
08/08/2021, 2:50 AMSophic
08/08/2021, 3:27 AMburggraf
08/08/2021, 3:40 AMbh
08/08/2021, 4:39 AMs u s h i
08/08/2021, 6:28 AM65536william
08/08/2021, 7:44 AMuser_metadata
vs the row for the user in the database? Is there a best practice either way?TechmandanCZ
08/08/2021, 9:18 AMcreateCustomToken
with the user ID and service token.lnraahCC
08/08/2021, 11:22 AMerik_flywheel
08/08/2021, 2:28 PMAdvist
08/08/2021, 2:42 PMerik_flywheel
08/08/2021, 2:55 PMmagicquin
08/08/2021, 4:51 PMcp
08/08/2021, 6:26 PMresponse_time, UserSites (Url, user_id)
but i'd like to filter the matches by the user_id