Hi,

I've got a bit of a problem with the containable behaviour:

There are three models:
A hasMany B
B HABTM C
A actsAs containable

Now in a method of the A model I'd like to do a query which gets me the 
rows from A with the according rows from B _and_ the data from C 
belonging to each B.
But I want only those rows of A which do actually have one ore more 
entries in B.

I'm fumbling around with the containable behaviour but can't seem to 
figure out how it works.

Can someone help please?

Regards
Guenther

--~--~---------~--~----~------------~-------~--~----~
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