I have an integer[] column and I want to update this column, but avoid having duplicate entries in the array.
Example: First [123] is the value.
Next time I want to add 234. Here array_append() works fine. But it shouldn't allow adding 123 again.
So my question: How can I append a value to an array only if that item is not present yet in the array.