That's not entirely equivalent though.
On Wed, Mar 25, 2009 at 11:26 PM, Dr. Loboto <[email protected]> wrote:
>
> Or replace "OR" by "IN":
> 'conditions' => array('Vote.user_id' => array(1, 2, 3))
>
> On Mar 26, 1:47 am, RyOnLife <[email protected]> wrote:
> > Got it:
> >
> > 'conditions' => array('or' =>
> > array(
> > array('Vote.user_id' => 1),
> > array('Vote.user_id' => 2)
> > )
> > )
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---