Skip to content
New issue

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

Added method rebuildTree, to initialize a tree #101

Closed
wants to merge 1 commit into from

Conversation

ebuzzz
Copy link

@ebuzzz ebuzzz commented Jun 20, 2016

I've created a method to initialize a tree that already has a parent/child relation available. For example, when upgrading an old database format to include the advantages of a nested set.

The method uses the parentAttribute value to search for children. It then updates the tree recursively.

…bute relation.

Added parentAttribute to specify child/parent relation between nodes.
@creocoder
Copy link
Owner

This behavior does not plan to contains any converter methods.

@creocoder creocoder closed this Jan 31, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants