Jira issue originally created by user mdrolet:
If I have a query with a IN statement with more tahn 1000 values I get an sql error.
I've try IN with implode:
select * from test where id IN(' . implode(',', $values) . ')
and I've also try with executeQuery:
select * from test where id IN(:test)
executeQuery($sql, array($values), array(\Doctrine\DBAL\Connection::PARAM_INT_ARRAY))