Postgresql – best practice to get nested result json
I have cases with nested results in JSON. here's the sample result, { "total_result" : 25, "questions" : [ { "id" : 1, "text" : "the question of user 1 here", "user" : { "id" : 5, "name" : "user…
I have cases with nested results in JSON. here's the sample result, { "total_result" : 25, "questions" : [ { "id" : 1, "text" : "the question of user 1 here", "user" : { "id" : 5, "name" : "user…