add aggregator

This commit is contained in:
Trowbridge 2019-02-27 19:17:59 -05:00
parent fe76cf58e8
commit d1630811bb

View File

@ -75,6 +75,6 @@ GROUP BY
,iter ,iter
) )
SELECT SELECT
row_to_json(rows) json_agg(row_to_json(rows))
FROM FROM
rows rows