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 92d70b7 commit 1cd1821Copy full SHA for 1cd1821
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