Example SQL query to update a value: ```sql -- Where jsonb_field was {}, it is now {"a": [{"b": 1}]} UPDATE table_name SET jsonb_field['a'][0]['b'] = '1'; ``` Using `jsonb` subscription we could store `['a'][0]['b']` as key and `'1'` as value.
Example SQL query to update a value:
Using
jsonbsubscription we could store['a'][0]['b']as key and'1'as value.