SQLize Online / PHPize Online  /  SQLtest Online

A A A
Share      Blog   Popular
Copy Format Clear
create extension unaccent; with i as ( select '{ "name":"пётр", "foo":"bar" }'::jsonb tags ) select *, jsonb_set(v,'{name}', to_jsonb(unaccent(v->'tags'->>'name'))) from i;

Stuck with a problem? Got Error? Ask ChatGPT!

Copy Clear