Skip to content

adding a multi trees in 1 table feature? #79

Closed
@boynet

Description

@boynet

I have a use case of like 2000 categories with endless sub categories but it never gonna be too big most will be 3-8 deep sub categories like must 100 items in each tree instead of creating 1 big tree with 2000 children's I want to create from each category a new nestedset in same table.
column like nestedset_id that it will create new nestedset based on nestedset_id?
so for example this nestedset:
https://upload.wikimedia.org/wikipedia/commons/thumb/4/41/NestedSetModel.svg/701px-NestedSetModel.svg.png

we can simplify it by saying that mens is new nestedset and womens is new nestedset
so like the women set will be left=1 and right=12
and men's sets will be 1-8 so a change in the men nestedset will not change anything in the women sets and vise versa so we should get pretty good insert performance

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions