I have models with belongsTo and hasMany relations in the following
form:
A -> C -> D -> E
B -> C
F -> E
G -> E
When displaying E I also want to display the title-fields of A, B, C,
D, F and G.
find() can only be set to rescursive=2 giving me E together with D, C,
F, G.
What is the best way of acessing tables A and B? Do I really need query
() or is there a different way?
Thanks!
Melanie Sommer
--~--~---------~--~----~------------~-------~--~----~
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:
Post a Comment