I have a column that contains an array of strings. I try to select the items which have a certain word in that column but I get this error:
function contains(character varying[], unknown) does not exist
This is my select query:
SELECT "schedule", COUNT("schedule") AS "count"
FROM "members" AS "member"
WHERE contains("member"."facility_id", 'DEMO')
GROUP BY "schedule";