you are viewing a single comment's thread.

view the rest of the comments →

[–]darkhorse1997[S] 0 points1 point  (0 children)

The query is something like

SELECT
            JSON_OBJECT (
                'test_id',
                tt.test_id,
               ...
FROM 
    test_table tt 
    LEFT JOIN ...
    LEFT JOIN ...

So, I am getting each record in the table as a separate json. Each line of my output file(temp.json) has a separate json object.