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

Experiment: Check if a simple parent-child relation (as in a tree topology) works in Zendro #41

Open
asishallab opened this issue Jul 22, 2020 · 0 comments
Assignees
Labels
help wanted Extra attention is needed

Comments

@asishallab
Copy link
Member

type TreeNode {
id
parent_id
content
}

How to find parent of node id = 2

  • look up value of 'parent_id' in TreeNode with id = 2
  • look up TreeNode with that very parent_id

How to find children of node id = 2

  • look up TreeNodes that have attr parent_id = 2

Does that work in Zendro?

@asishallab asishallab added the help wanted Extra attention is needed label Jul 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants