Supabase Multiple onConflicts in upsert query
When upserting to my table, i have two constrains that I both want to add an onConflict for. I will be upserting data that conflicts with either of the two, but never both.
Supabase/Postgres RLS policy and JavaScript to select all records in public.users if authenticated user’s record contains admin: true
In Supabase, I have a table public.users that corresponds to auth.users that contains additional user data.