cakephp recursive -1,0,1,2 速查

-1  : model本身

0   :model本身 + belongTo + hasOne

1   :model本身 + belongTo + hasOne + hasMany

2:  :model本身 + belongTo + hasOne + hasMany + hasAndBelongsToMany

原文地址:https://www.cnblogs.com/lein-wang/p/4333561.html