If you use the latest cake 1.2 RC1 (thank guys), check about the
"containable" behavior, it just does this.

On Jun 5, 5:56 pm, Zedix <[EMAIL PROTECTED]> wrote:
> Hey guys, I have a quick question regarding associations. Hopefully
> this is going to make sense:
>
> I currency have a Listing model which has several associations:
> - belongsTo Game, Member
> - hasMany Account
>
> Also relevant:
> - Account belongsTo Server
>
> Is it possible during a Listing->find() to fetch each association
> normally (1 level deep), but have the Account go 1 level deeper, and
> fetch it's Server? If I set recursive to 2, it fetches too much data
> for nothing from all the other models. Could I use bind somehow to
> make this association ?
>
> Thanks for any help you can provide :)
--~--~---------~--~----~------------~-------~--~----~
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