This is my SQL :
UPDATE "CET_User"
SET "Property" = jsonb_set("Property",
'{"Tid"}',
'9323fce7-416e-40be-802f-ee173f246907')
WHERE ("Property" - >> 'Tid') = '33bc69e8-0715-4b86-8611-67070c5c744d';
When i try to run it , it get a error :
ERROR: invalid input syntax for type json LINE 13: ...SET "Property" = jsonb_set("Property",'{"Tid"}', '9323fce7-... ^ DETAIL: Token "9323fce7" is invalid. CONTEXT: JSON data, line 1: 9323fce7...
ref :
https://www.postgresql.org/docs/15/functions-json.html
I think i use the right syntax, is there any fault observed?