Hi,
I'm trying to disable $quoteValues (http://api.cakephp.org/view_source/
dbo-source/#line-1745), but I cannot get it working at all.
My finder query looks like this (trimmed down):
$this->find('all', array(
'conditions' => array(
'Release.id' => array($release_ids)
)
));
$release_ids is a string of ids, such as: '1,2,3,4,5'.
The resulting conditions is: "WHERE `Release`.`id` = ('1,2,3,4,5')",
and what I need is: "WHERE `Release`.`id` IN (1,2,3,4,5)"
Can anyone help, please?
Cheers!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---