I have a query that uses an array as follows:
SELECT * FROM devices WHERE code = ANY (\'{"value1","value2","..."}\');
If