Skip to content
This repository

cache_tree_children should cache access to the parent of each node #221

orokusaki opened this Issue · 1 comment

2 participants

Michael Angeletti Craig de Stigter
Michael Angeletti

cache_tree_children is a great function to use generally. One thing it's missing, however, is the function of caching each node's parent, which means that you cannot traverse up and down a tree freely without triggering more queries. You can go down, and you can also go straight up in a single query, but you cannot use .parent.

Craig de Stigter

Good point, there's really no reason it can't do that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.