Closed xiaohuilam closed 5 years ago
If
$me = \App\MyRecommend::where(['agency_id' => auth()->id()])->first(); $recommend_list = $me->descendants()->join('users', 'users.id', '=', 'recommend.user_id', 'left')->select(DB::raw('recommend.*, users.email'))->get();
In currently, baum will throw an exception like this issue: https://github.com/etrepat/baum/issues/285
If
In currently, baum will throw an exception like this issue: https://github.com/etrepat/baum/issues/285