SupabaseS
Supabase12mo ago
Light

Given an array of IDs, what is the best way to fetch each one?

I have an event table, and within each entry is an attendees column. This column is an array of the IDs of all the attendees. How would I go about taking this array and fetching each ID. The first thought I had was to just use a map, and fetch each one, but that seems very resource intensive. Is there a better way of doing this?
Was this page helpful?