Let's say that I have the following db schema:
Model Order
var $belongsTo = 'User';
var $hasMany = 'Donetask';
var $hasOne = 'Ordernote';
var $recursive = 2;
Model User
var $hasMany = 'Order,Donetask';
Model Donetask
var $belongsTo = 'User,Task,Order';
(and many others that I skip...)
If I perform a find on Order for order Id = 04 I got a lot of details
(nested arrays), wich is fine.
But let's say I need to go deep in with recursive only on Donetask (to
have the info from Task) and not from User (I don't need to know the
full list of orders saved by the user).
Is there a way to specify this or in the models or in the single find
method?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---