You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For really big trees (say 100k nodes in 5+ levels), descendants() will return all those nodes and will break the application. The subquery added by withDepth() is costly the more nodes the tree has. Did you thought about adding a level column for that reason? This would speed up retrieving e.g. only the first three levels in a 100k node tree drastically.
The text was updated successfully, but these errors were encountered:
For really big trees (say 100k nodes in 5+ levels),
descendants()
will return all those nodes and will break the application. The subquery added bywithDepth()
is costly the more nodes the tree has. Did you thought about adding alevel
column for that reason? This would speed up retrieving e.g. only the first three levels in a 100k node tree drastically.The text was updated successfully, but these errors were encountered: