I know that there have already been a lot of questions regarding this topic. I would like to replace a named parameter with a list of composite ids, resulting in something like
Code:
WHERE (CPR_ID, CPT_ID) IN ((1,2), (3,4), (5,6))
So I used a single parameter and setParameterList on the query
Code:
WHERE (CPR_ID, CPT_ID) IN (:filters)
This results in the following replacement (when called with an array of three elements):
Code:
WHERE (CPR_ID, CPT_ID) IN (?, ?, ?)
But nevertheless the query fails ("invalid relational operator").
After dozens of trys I do not know how to proceed. Is there any way to get composite identifiers working? And as far as I can see, there is no other way to yield the same result, or do I miss something?
Help is really appreciated.
Thanks in advance, Tilman