How to filter this field of type array in PostgreSQL?
I have a X
table with a Y
field of type character varying[]
with two records:
{'meeting','lunch','training','presentation'}
{'breakfast','consulting', 'meeting'}
In this context how to make a query of type:
SELECT * FROM X WHERE Y CONTAINS('lunch')