pretty print doc

This commit is contained in:
pt 2020-02-25 00:27:30 -05:00
parent 9584f8026a
commit 60ace348b8
2 changed files with 8 additions and 3 deletions

View File

@ -46,3 +46,8 @@ Walk Issues
* changed orders
* short ships
* exchange rates
Things to Demo
* product swap out
* pivot re-org
* don't use filters

View File

@ -6,7 +6,7 @@ SELECT
,ol.doc->>'stamp' stamp
,ol.doc->>'tag' tag
,ol.doc->>'message' "comment"
,ol.doc
,jsonb_pretty(ol.doc) doc
,ol.id
,to_char(round(sum(value_usd),2),'$999,999,999D00') sales
from
@ -22,7 +22,7 @@ group BY
,ol.doc->>'stamp'
,ol.doc->>'tag'
,ol.doc->>'comment'
,ol.doc
,jsonb_pretty(ol.doc)
,ol.id
)
SELECT