What you want is a subquery. Check out the subquery section of this page: http://book.cakephp.org/view/74/Complex-Find-Conditions
On May 24, 7:55 am, "[email protected]" <[email protected]> wrote: > Hi All, > > I'm currently finding all Posts without Tags by querying the join > table and getting the unique Post id's then using them in a second > query on the Posts table to find all Posts with an id NOT in the first > array. > > What I was wondering is if there was a neater/caker way of doing this? > > d. > > Check out the new CakePHP Questions sitehttp://cakeqs.organd 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 [email protected] > To unsubscribe from this group, send email to > [email protected] For more options, visit this group > athttp://groups.google.com/group/cake-php?hl=en 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 [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
