How to make a func return several Records - Supabase