Using a view within a js API query to a table. - Supabase