I've got a table with a field my_array VARCHAR[]
. I'd like to run a SELECT query that returns rows where the value ('My Term') I'm searching for is in "my_array" one or more times.
These (and a bunch more I tried) don't work:
SELECT * FROM my_table WHERE my_array='My Term';
SELECT * FROM my_table WHERE 'My Term' IN my_array;