My app (like many I would imagine) is using a combination of APIs and a Database (Supabase). The APIs return JSON, but Supabase returns "rows" in a different format. This means that One type of result is handled one way (easy JSON path mapping) and the other a different way. Trying to get the 2 to sync up in any way seems impossible. Having a way to convert Supabase results to JSON would make everything SOOOOO much easier because it would normalize results and the same functions and code base could be used on both.
Need a way to convert Supabase results to JSON
Database & APIs
I have tried creating functions that do this, but no luck. I do see that some people are accessing Supabase via an API which might be my next step, I just have to believe that this can be done in a function or a better way.
Yes
2
6 replies