pretty print doc
This commit is contained in:
parent
9584f8026a
commit
60ace348b8
@ -45,4 +45,9 @@ Walk Issues
|
|||||||
* canceled orders
|
* canceled orders
|
||||||
* changed orders
|
* changed orders
|
||||||
* short ships
|
* short ships
|
||||||
* exchange rates
|
* exchange rates
|
||||||
|
|
||||||
|
Things to Demo
|
||||||
|
* product swap out
|
||||||
|
* pivot re-org
|
||||||
|
* don't use filters
|
@ -6,7 +6,7 @@ SELECT
|
|||||||
,ol.doc->>'stamp' stamp
|
,ol.doc->>'stamp' stamp
|
||||||
,ol.doc->>'tag' tag
|
,ol.doc->>'tag' tag
|
||||||
,ol.doc->>'message' "comment"
|
,ol.doc->>'message' "comment"
|
||||||
,ol.doc
|
,jsonb_pretty(ol.doc) doc
|
||||||
,ol.id
|
,ol.id
|
||||||
,to_char(round(sum(value_usd),2),'$999,999,999D00') sales
|
,to_char(round(sum(value_usd),2),'$999,999,999D00') sales
|
||||||
from
|
from
|
||||||
@ -22,7 +22,7 @@ group BY
|
|||||||
,ol.doc->>'stamp'
|
,ol.doc->>'stamp'
|
||||||
,ol.doc->>'tag'
|
,ol.doc->>'tag'
|
||||||
,ol.doc->>'comment'
|
,ol.doc->>'comment'
|
||||||
,ol.doc
|
,jsonb_pretty(ol.doc)
|
||||||
,ol.id
|
,ol.id
|
||||||
)
|
)
|
||||||
SELECT
|
SELECT
|
||||||
|
Loading…
Reference in New Issue
Block a user