Remix.run Logo
nicoburns 5 days ago

If you use CTEs and json_agg then you can combine your separate queries into one query without redundant data.