We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31b485f commit b2b6c1bCopy full SHA for b2b6c1b
doc/src/sgml/json.sgml
@@ -701,10 +701,10 @@ UPDATE table_name SET jsonb_field[2] = '2';
701
assigned value can be placed.
702
703
<programlisting>
704
--- Where jsonb_field was {}, it is now {'a': [{'b': 1}]}
+-- Where jsonb_field was {}, it is now {"a": [{"b": 1}]}
705
UPDATE table_name SET jsonb_field['a'][0]['b'] = '1';
706
707
--- Where jsonb_field was [], it is now [null, {'a': 1}]
+-- Where jsonb_field was [], it is now [null, {"a": 1}]
708
UPDATE table_name SET jsonb_field[1]['a'] = '1';
709
</programlisting>
710
0 commit comments