We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Thanks so much for taking this project over!!
Is there a way to eager load a nested relationship using Laravel's relationship definitions instead of calling ->toHierarchy()?
->toHierarchy()
i.e.
class Post extends Model { public function categories() { return $this->hasManyRootsWithDescendants(Category::class); } }
to return a nested set of categories
If this is a feature request I'd be glad to take a look Or is there a better way to load a nested set by default?
The text was updated successfully, but these errors were encountered:
I like this idea but I envisage it being a fair bit of work. Happy for someone to look in to it, or I'll take a look if (when) I get time.
Sorry, something went wrong.
No branches or pull requests
Thanks so much for taking this project over!!
Is there a way to eager load a nested relationship using Laravel's relationship definitions instead of calling
->toHierarchy()
?i.e.
to return a nested set of categories
If this is a feature request I'd be glad to take a look Or is there a better way to load a nested set by default?
The text was updated successfully, but these errors were encountered: