How do I modify a single property value inside the PostgreSQL JSONB datatype?
问题 How do I modify a single field inside the PostgreSQL JSONB datatype? Let's say I have a table called animal like this: id info ------------------------------------------------------------ 49493 {"habit1":"fly","habit2":"dive","location":"SONOMA NARITE"} I'd like to simply change value(say, to upper case or lower case the text) of the location property. so the result, after UPDATE is id info ------------------------------------------------------------ 49493 {"habit1":"fly","habit2":"dive",