I use DataGrip to query and manipulate the database. It does a brilliant job. So for example if a query is complex I’ll build it as a view in DataGrip and then have a simple query in Supabase-JS. Everything comes out flat in a single table row but if you rename your columns with strings like this: users.name AS “user.name” then use unflatten
https://www.npmjs.com/package/flat to create nested JS objects