In addition set recursive to -1. Automagical fechting of related
models is well, something for scaffold and testing, nothing for
production applications imho. Its slow.
See Containable (or contains) as mentioned above, Linkable (on GitHUB)
or Complex Find Conditions (with "joins") to fetch deep ass
Maybe you just need http://book.cakephp.org/view/474/Containable
On 10月17日, 上午11時08分, "gimperdan...@gmail.com"
wrote:
> Ok this is what I have set up:
>
> Artist -> hasMany Album
> Album -> belongsTo Artist
> Album -> belongsTo Label
> Album-> hasMany Track
> Label-> hasMany Album
> Track->
Ok this is what I have set up:
Artist -> hasMany Album
Album -> belongsTo Artist
Album -> belongsTo Label
Album-> hasMany Track
Label-> hasMany Album
Track-> belongsTo Album
so fa so good
I provide the name of the Artist and the name of the Album and want to
get results from each table:
$t