I have a table with a json field. I plan on storing a json array of tags in that field e.g. ["beach","car","phone"]
. How do I perform actions like, add a tag to the array, delete a tag from the array or select where is contained in the json array field.
I am currently running postgresql9.3. In short I want to implement an 'insert/update' function on that field. Is it possible to achieve this in SQL only? Thanks in advance