baum
baum copied to clipboard
Baum is an implementation of the Nested Set pattern for Laravel 5's Eloquent ORM.
### UPDATE/INFORMATION After the creation of a compound index I saw my performance greatly implied for the cost of a slightly slower insertion due to the reconstruction of the index...
Hello ,😄 Just for information ,the php command artisan: ```make:baum {model}``` create model file but it does not create a migration file automatically under laravel 7
Consolidating some of the *really old* issues. *As development continues, will refer to these older issues for insight and inspiration.* - [ ] [Alternate DB Connection](#11) - [ ] [Preventing...
When I want to touch the timestamp of a nested Model it looses it's depth. I have a nested Page model that has a relationship with a Content model. When...
I'm struggling everywhere to accomplish this. I need to have all the descendants of multiple nodes as: `Category::whereIn('id', [])->getDescendantsAndSelf()`
#### Wrong `rgt`-value when creating child node on PHP 7.2 I have this test: ```php /** @test **/ public function store_category() { // Arrange $root = factory(\App\Category::class)->create( ['name' => 'Root',...
Is there a way to reset the tree? - i removed all LFT, RGT values then run the rebuild(), but still invalid. - i checked all parent_id exists - no...
https://github.com/gazsp/baum/blob/feature/2.0/src/Baum/Providers/BaumServiceProvider.php#L5 is looking for ``` use Baum\Console\BaumCommand; ``` Which isn't part of the repo.
I see that full support for Laravel 5.5 is in progress, but in the meantime, I'm using Baum 1.1 and it seems to be functioning just fine. I'm curious as...
What should I do when I get a node (including child nodes) and hierarchically and use with to associate other tables?