From d1630811bb90097553bbfa5d26148a10822e4401 Mon Sep 17 00:00:00 2001 From: Trowbridge Date: Wed, 27 Feb 2019 19:17:59 -0500 Subject: [PATCH] add aggregator --- route_meta/get_pool.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/route_meta/get_pool.sql b/route_meta/get_pool.sql index f966e32..4616d95 100644 --- a/route_meta/get_pool.sql +++ b/route_meta/get_pool.sql @@ -75,6 +75,6 @@ GROUP BY ,iter ) SELECT - row_to_json(rows) + json_agg(row_to_json(rows)) FROM rows \ No newline at end of file