Newb here, does anybody have experience with checking if a row exists in a db function? - Supabase