I have a question regarding rpc's. I've build a function that searches into 4 different tables. It returns a json object with 4 lists of results for each table. Does it make sense to return heterogeneous data in a function or make 4 separate requests out of them to keep it simple?
The reason that I'm asking is because I came across
https://github.com/nuxt-community/supabase-module/blob/main/demo/pages/tasks.vue#L14 where generics are used which could be difficult for rpc's returning heterogeneous data (right?)