Skip to content

Store depth in the model #5

@kanle485

Description

@kanle485

I think it would be better to store each node's level as a field in the model, so that we can generate the json representation of the tree easier and more efficiently. In large trees, it's not feasible to get level of each node. That's too many db calls.

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