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
ren...@morfer.org


On Mon, May 24, 2010 at 11:55 AM, designv...@gmail.com <designv...@gmail.com
> 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 cake-php@googlegroups.com
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com<cake-php%2bunsubscr...@googlegroups.com>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 cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to