Open kampit opened 5 years ago
same problem... how to do this
$tree = accounts::scoped([ 'business_id' => 1 ])->withDepth()->having('depth', '>=',3)->descendantsOf(1)->toTree();
not work correctly i have same problem ; i need get level with larger than 3 deep
How do I limit the children looks like above?
Originally posted by @lazychaser in https://github.com/lazychaser/laravel-nestedset/issues/98#issuecomment-206707069