Joining tables and creating a json out of the joined information – Postgresql
Is there a way to join 2 tables with one query to DB in a way when records from one table are put as an array value in a 'new' column in another table? (It's clear how to do it…