Hacker News new | ask | show | jobs
by ako 919 days ago
You can do that in Postgres, either return nested json structures, or nested arrays.

For an example see: https://shusson.info/post/building-nested-json-objects-with-...