Hi

I just switched from cake 1.2.6311 to cake 1.2.7125 (RC1)

what is the new syntax for this command?

$this->Category->findByName(array('name' =>'LIKE %'.$parent.'%',
'parent_id'=>null));

I want to find all categories where the name is like %parent% and the
parent_id is null

Thanks

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
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