implements jsonb-changes-delta

This commit is contained in:
Michael Hoennig 2022-08-23 10:17:32 +02:00
parent 2022492f21
commit d0b201aff9

View File

@ -41,7 +41,6 @@ begin
else else
raise notice 'not an object: %, leaving %', oldJsonElement.key, newJson -> (oldJsonElement.key); raise notice 'not an object: %, leaving %', oldJsonElement.key, newJson -> (oldJsonElement.key);
end if; end if;
continue;
else else
raise notice 'nulling old: %', oldJsonElement.key; raise notice 'nulling old: %', oldJsonElement.key;
diffJson = diffJson || jsonb_build_object(oldJsonElement.key, null); diffJson = diffJson || jsonb_build_object(oldJsonElement.key, null);