the module is stored as key type in the json
This commit is contained in:
parent
d5e19bc309
commit
df02a31000
@ -337,7 +337,7 @@ SELECT
|
||||
,log.id
|
||||
,COALESCE(log.doc->>'tag','') "tag"
|
||||
,log.doc->>'message' "comment"
|
||||
,log.doc->>'module' module
|
||||
,log.doc->>'type' module
|
||||
FROM
|
||||
basemix b
|
||||
CROSS JOIN vscale s
|
||||
@ -427,7 +427,7 @@ SELECT
|
||||
,log.id
|
||||
,COALESCE(log.doc->>'tag','') "tag"
|
||||
,log.doc->>'message' "comment"
|
||||
,log.doc->>'module' module
|
||||
,log.doc->>'type' module
|
||||
FROM
|
||||
volume b
|
||||
CROSS JOIN pscale p
|
||||
|
@ -336,7 +336,7 @@ SELECT
|
||||
,log.id
|
||||
,COALESCE(log.doc->>'tag','') "tag"
|
||||
,log.doc->>'message' "comment"
|
||||
,log.doc->>'module' module
|
||||
,log.doc->>'type' module
|
||||
FROM
|
||||
basemix b
|
||||
CROSS JOIN log
|
||||
|
@ -172,7 +172,7 @@ target AS (select target_increment incr)
|
||||
,log.id
|
||||
,COALESCE(log.doc->>'tag','') "tag"
|
||||
,log.doc->>'message' "comment"
|
||||
,log.doc->>'module' module
|
||||
,log.doc->>'type' module
|
||||
FROM
|
||||
basemix b
|
||||
CROSS JOIN scale s
|
||||
|
@ -201,7 +201,7 @@ target AS (select incr_qty qincr)
|
||||
,log.id
|
||||
,COALESCE(log.doc->>'tag','') "tag"
|
||||
,log.doc->>'message' "comment"
|
||||
,log.doc->>'module' module
|
||||
,log.doc->>'type' module
|
||||
FROM
|
||||
basemix b
|
||||
CROSS JOIN scale s
|
||||
|
@ -200,7 +200,7 @@ target AS (select target_vol vincr, target_prc pincr)
|
||||
,log.id
|
||||
,COALESCE(log.doc->>'tag','') "tag"
|
||||
,log.doc->>'message' "comment"
|
||||
,log.doc->>'module' module
|
||||
,log.doc->>'type' module
|
||||
FROM
|
||||
basemix b
|
||||
CROSS JOIN vscale s
|
||||
@ -281,7 +281,7 @@ FROM
|
||||
,log.id
|
||||
,COALESCE(log.doc->>'tag','') "tag"
|
||||
,log.doc->>'message' "comment"
|
||||
,log.doc->>'module' module
|
||||
,log.doc->>'type' module
|
||||
FROM
|
||||
volume b
|
||||
CROSS JOIN pscale s
|
||||
|
Loading…
Reference in New Issue
Block a user