> You would have to be beyond the need for release notes to extrapolate
> this comment from that document:
>
> >> Please read the release notes regarding LIKE and other SQL operators.
> >> That should be:
>
> >> $conditions = array("or"=>(array(
>
> >>         'edifici LIKE %?%' => $searchText,
> >>         'adreca LIKE %?%' => $searchText
> >> )));
>

Quote from 
http://bakery.cakephp.org/articles/view/release-pure-cake-power-in-rc1

"
To help ensure that applications are secure with no extra effort on
the part of the developer, we have moved all operators used in
conditions to the "key" side. For example, $conditions =
array('Model.field >' => $value); is the new syntax.
"

That pretty much sums up all the changes regarding SQL operators in RC1
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to