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

Extend Model with nested set functionality #2

Open
11 tasks
nochso opened this issue Aug 3, 2015 · 0 comments
Open
11 tasks

Extend Model with nested set functionality #2

nochso opened this issue Aug 3, 2015 · 0 comments

Comments

@nochso
Copy link
Owner

nochso commented Aug 3, 2015

See nested set model: Managing Hierarchical Data in MySQL

  • Allow multiple columns as primary key (e.g. comments per thread)
  • Add node
    • Root
    • Between parent and children
  • Select
    • Any children and its parent
    • Immediate children
    • Path to node
    • Leaf nodes
    • Allow including depth of nodes using extra('depth') on as many queries as reasonable
  • Delete node
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

No branches or pull requests

1 participant