$this->Model->findAll(array('field' => '<= value'))
On 8/21/06, Mikee Freedom <[EMAIL PROTECTED]> wrote:
>
> Hey all,
>
> A quick query.
>
> I prefer to include conditions as an array but was curious how to set
> conditions other than:
>
> field = 'value'
>
> i.e. Model->findAll(array('field' => 'value'))
>
> Specifically I am trying to grab all records in the last month. But it
> would be good to know if there was a quick reference that listed a few
> examples.
>
> Anyone know?
>
> I think someone mentioned something about it here in the groups a
> short while back but I can't seem to find it.
>
> Thanks again,
> Mike
>
> >
>--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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 -~----------~----~----~----~------~----~------~--~---
