Postgresql – Increment counter inside jsob based on itself value
I have an example table to demonstate a problem. create table myteble ( id serial primary key , metadata jsonb -- other fields -- ...... ) metadata is a jsonb column, and it might and most likely will contain some…