So I have a Postgres database where one of the columns is an array of strings
If I do the query
SELECT count(*) FROM table WHERE column @> ARRAY['string']::varchar[];
I get a certain set of data back, but if I want to query that array with a wildcard on the string I can't seem to figure that out, something like
SELECT count(*) FROM table WHERE column LIKE ARRAY['%string%']::varchar[];
Any help is appreciated!