Hello!

I have one model that I declared with a hasOne association to model2,
and in model2, I need a belongTo association to a third model (a
lookup table). This whole association should be accessible with a find
() from the first model - is this possible in cakePHP, or do I have to
make two (or a custom) query to accomplish this?

Just to make the question clearer here's the structure:

Model1 (This model is where I'm calling the find...)
-Id

Model2
-model1_id
-model3_id

Model3
-Id

Thanks in advance for any help!

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