I want store the value in array, and then use it in where clause.
Like this:
SELECT ... ...
FROM myTable
WHERE (myTable.id, myTable.type)
IN (SELECT *
FROM table(array_collection)
)
array_collection value like this:
(('1','N'),
('2','N'),
('3','Y'))
And there have any way not create schema level table type to do that?