skip to Main Content

PostgreSQL: Remove element from JSON data

I am fairly new to SQL and wondering how to remove a specific element from the JSONB data below: [ {"id":101,"content":"lorem ipsum", "username":"user_1"}, {"id":102,"content":"lorem ipsum", "username":"user_2"}, {"id":103,"content":"lorem ipsum", "username":"user_3"} ] In this case I want to remove the object with…

VIEW QUESTION
Back To Top
Search