I have an app i'm starting to build. It has around 20 tables all
associated.  The main table 'jobs' has several belongTo associations
and hasMany associations.  I've found info on setting recursive and on
using unbindModel for controlling the results of findAll, etc.

What I want to do is call a findAll on the job model with recursion
going two levels deep only on one model, and one level deep on all the
other associated models.

An example might be: jobs belongsTo users and users belongsTo
user_types.  A number of other models also belong to jobs.  I want to
do findAll on jobs and get the user info and it's related user_type.
But I only want to go one level deep on all the other models associated
to jobs.

Hope that makes sense...any ideas?

Thanks


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to