coryodaniel / arbor

Ecto elixir adjacency list and tree traversal. Supports Ecto versions 2 and 3.
MIT License
239 stars 25 forks source link

Subtree function #2

Open coryodaniel opened 8 years ago

coryodaniel commented 8 years ago

Source struct + descendants

subtree = Comment.subtree(comment)