Postgresql – How to set a new object in jsonb using value from another field
I have a table named acount with json column data. There is a field called amount and I need to create a new object in that json and copy the value of amount to one of the fields inside. I…