MiladAheshmeh

Results 3 comments of MiladAheshmeh

``` $tree = User::withRecursiveQueryConstraint(function (Builder $query) { $query->where('users.visible', 1); }, function () { return User::find(2)->descendants() }); ``` @staudenmeir

same result @staudenmeir

Database ![Screen Shot 1401-04-07 at 21 28 19](https://user-images.githubusercontent.com/5099000/176239353-a9a9501c-762d-46f0-b872-6607e0fa4350.png) Code ![Screen Shot 1401-04-07 at 21 28 52](https://user-images.githubusercontent.com/5099000/176239345-940f3239-d0ea-4aed-824b-85bc99667ac5.png) Result ![Screen Shot 1401-04-07 at 21 29 07](https://user-images.githubusercontent.com/5099000/176239334-9b99d3e6-d64b-4da0-a16c-a842e8d9d862.png) ### David is invisible so why...