mbouclas / loopback-ds-tree-mixin

Transform a loopback model into a tree using the Array of Ancestors pattern
MIT License
6 stars 4 forks source link

add allTrees methods #6

Closed Jcbobo closed 7 years ago

Jcbobo commented 7 years ago

add method for retreave all the trees ( basically search for all node without a parent and build the trees using the asTree method (passing withParent:true options)