>>
>>The server can't execute this; that'd have to be executed locally rather than remotely because your memory space is not visible to it. You'd need to dump the array into a cursor on the backend and use an IN clause in the WHERE clause.
>
>How to create a cursor on backend?
Without knowing what the backend is, that's impossible to say. Essentially, you have to use whatever the server's DDL is to create a cursor and then insert the values into it.