I have a table with a column feature
of type text
and a text array (text[]
) named args
. I need to select from the table those rows in which the feature
column contains at least one of the elements of the args
array.
I've tried different options, including this:
SELECT * FROM myTable WHERE feature LIKE '%' + ANY (args) + '%';
But that does not work.