Use
jsonb_set()
e o operador delete -
:update catalog
set properties =
jsonb_set(properties, '{attributes}', (properties->'attributes') - 'is_new');
Teste em db<>fiddle.
jsonb_set()
e o operador delete -
:update catalog
set properties =
jsonb_set(properties, '{attributes}', (properties->'attributes') - 'is_new');