ClosureTable icon indicating copy to clipboard operation
ClosureTable copied to clipboard

Adjacency List’ed Closure Table database design pattern implementation for the Laravel framework.

Results 20 ClosureTable issues
Sort by recently updated
recently updated
newest added

When there is a lot of data, the relational table will generate a lot of data. How to deal with it to ensure performance?

The `buildAncestorsQuery()` and `buildDescendantsQuery()` methods don't use qualified column names. This could lead to "ambiguous column name" errors when the entity table has columns named `ancestor`, `descendants` or `depth`. Using...

Why werent they removed from code if they are deprecated in >6.0. 6.1.1. still has `class Entity extends Eloquent implements EntityInterface` with EntityInterface marked as deprecated.. Problem is later in...

Adding automated tests execution against PHP8.

Is there a way to have a node directly linked to two or more parents?

Bumps [league/flysystem](https://github.com/thephpleague/flysystem) from 1.0.66 to 1.1.4. Commits f3ad691 Reject paths with funky whitespace. 1ac14e9 Added SharePoint community adapter 4347fe7 Remove ext-fileinfo from suggests, it's already in requires 1bf07fc Fix time-related...

dependencies

Result for the default structure: parent_id null for all rows ! I tried laravel 6 & 8 and diff Clousure table version, its all same problem only createFromArray works fine,...

Having a similar issue to #231. Using v6.1.1 on laravel/framework v8.26.1 ``` public function getLinkIdsAttribute() { return $this->ancestorsWithSelf()->get()->pluck('indextag_id')->implode('.'); } ``` I end up with hundreds of queries that result from...

Using "franzose/closure-table": "^6.1", "laravel/framework": "^6.2", When using demo code from [https://github.com/franzose/ClosureTable#tree](https://github.com/franzose/ClosureTable#tree) ``` class SubjectsTableSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function...

if I delete a member in the middle of the tree, which causes the tree to be divided in two, the members of tree 1 are still pointing to the...