I'm having trouble writing a query
In SQL, something like
would be ok, and then I could use
now, what's the best way to get there with supabase?
Is there even a way to get this done with only one request?
I can do this
but then I get every person, even if they are not inside a group
and if I do
would be ok, and then I could use
map and reduce to get it into this sort of structure:now, what's the best way to get there with supabase?
Is there even a way to get this done with only one request?
I can do this
but then I get every person, even if they are not inside a group
and if I do
collaborators will be an array in the result, but empty.