nested_set
v0.0.1
Pages
Modules
nested_set v0.0.1
NestedSet.Base
Summary
Functions
ancestors(model, opts \\ %{})
ancestors_count(model, repo)
descendants(model, opts \\ %{})
descendants_count(model)
get_root_node(model)
leaves(model)
recalculate_lft_rgt(root, repo, opts)
self_and_ancestors(model)
self_and_descendants(model)
self_and_siblings(model)
Functions
ancestors(model, opts \\ %{})
ancestors_count(model, repo)
descendants(model, opts \\ %{})
descendants_count(model)
get_root_node(model)
leaves(model)
recalculate_lft_rgt(root, repo, opts)
self_and_ancestors(model)
self_and_descendants(model)
self_and_siblings(model)