I am developing a report in Codeigniter, however my select contains a filter that can have more than 1000 expressions in my where_in
and then it returns me the error:
ORA-01795: o número máximo de expressões em uma lista é de 1000.
I'm doing my whereabouts like this:
$this->db->where_in("R.CODIGO",$this->db->escape($filters['CODIGO']));
Where the variable $filters['CODIGO']
is an array with 1000 elements or more.
How to solve this?