Thursday, April 1, 2010

Re: Can I filter on models deep in a 'contains' ?

I don't know whether it's possible... I think custom query would be the best solution.
Lucca Mordente


On Thu, Apr 1, 2010 at 11:52 AM, Zac Tolley <zac.tolley@gmail.com> wrote:

I'll give that a go, but then I want to use or's... like I want to to
say if user.username = 'xyz' or item.name = 'xyz'....

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

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
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

To unsubscribe, reply using "remove me" as the subject.

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.
 
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
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

No comments: