laravel-nestedset icon indicating copy to clipboard operation
laravel-nestedset copied to clipboard

Effective tree structures in Laravel 4-8

Results 149 laravel-nestedset issues
Sort by recently updated
recently updated
newest added

```php if (is_null($node->getParentId())) { //parent_id can be zero $node->setRelation('parent', null); } ```

Hello, I use sofDelete and it works great in rebuildTree method. But the problem is there is no event "deleted" fired so I can't "softDelete" my products related to my...

I have a table that isn't managed through the webapp but rather a nightly import from CSV. Therefore I wouldn't be using the append or prepend methods, etc. Aside from...

have bug in whereIsLeaf() when child remove soft deleted . but hard delete node , it work correcly

hi, I need to render as JSON inverse tree from specific node My tree must includes: - children of the node itself - ancestors with their sibling leaves grouped -...

Hi , how make async tree so i don't need to load 1200 categories at same time. Im using vuetfiy treeview https://vuetifyjs.com/en/components/treeview/#async-items So i need to get level by level....

Hello there I use laravel 5.8 anhd laravel nestedset V5.0.1 Inssert new node to DB data is null, when submit form dd($variable) have data but insert data is null Hope...

> shows good performance when tree is updated rarely. How big is the penalty for updating the tree regularly? Is the penalty for appending/prepending less than the penalty for inserting...

My root categories (root nodes) cannot have articles, but their child nodes (subcategories) can have articles. I am looking for the most elegant way to get the total number (count)...

Tried: ``` php Schema::table('author_categories', function (Blueprint $table) { $table->dropNestedSet(); }); ``` Got: ![image](https://user-images.githubusercontent.com/3182864/67508142-d14b9780-f666-11e9-8887-52022af08386.png) Migrating/rolling back in PostgreSQL worked fine. But I'm using it on a TestCase, so SQLite is the...