Compare commits
No commits in common. "f548780d9f6c71caa33950c52a2b5a3357824d10" and "08e768eb22210d3b26c5aa8632111b124ebbf815" have entirely different histories.
f548780d9f
...
08e768eb22
@ -82,8 +82,6 @@ GROUP BY
|
||||
,tag
|
||||
,comment
|
||||
,substance
|
||||
ORDER BY
|
||||
logid ASC
|
||||
)
|
||||
SELECT
|
||||
json_agg(row_to_json(rows)) x
|
||||
|
@ -25,7 +25,7 @@ group BY
|
||||
,jsonb_pretty(ol.doc)
|
||||
,ol.id
|
||||
ORDER BY
|
||||
ol.id desc
|
||||
(ol.doc->>'stamp')::timestamptz desc
|
||||
)
|
||||
SELECT
|
||||
jsonb_agg(row_to_json(agg)::jsonb ORDER BY agg.id desc) x from agg
|
||||
jsonb_agg(row_to_json(agg)::jsonb ORDER BY agg.stamp desc) x from agg
|
||||
|
Loading…
Reference in New Issue
Block a user