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