coalesce
This commit is contained in:
parent
47ef81b318
commit
f9e1dac6c3
@ -116,7 +116,7 @@ BEGIN
|
|||||||
UPDATE
|
UPDATE
|
||||||
evt.fspr f
|
evt.fspr f
|
||||||
SET
|
SET
|
||||||
prop = f.prop || '{"rf":"global"}'::jsonb
|
prop = COALESCE(f.prop,'{}'::jsonb) || '{"rf":"global"}'::jsonb
|
||||||
FROM
|
FROM
|
||||||
touched t
|
touched t
|
||||||
WHERE
|
WHERE
|
||||||
|
Loading…
Reference in New Issue
Block a user