I alredy asked it here.
Never find an answer.

Im doing same way you do. 2 querys.
Not even with pure sql i count do it in 1 query...

still wonder if its some way to do it in a cake way.

--
Renato de Freitas Freire
[email protected]


On Mon, May 24, 2010 at 11: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 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]<cake-php%[email protected]>For
>  more options, visit this group at
> http://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

Reply via email to