as_nested_set v3.4.0 AsNestedSet

Link to this section Summary

Link to this section Types

Link to this type

executable()

executable() :: (Ecto.Repo.t() -> any())

Link to this section Functions

Link to this function

ancestors(target)

See AsNestedSet.Queriable.ancestors/1.

Link to this function

children(target)

See AsNestedSet.Queriable.children/1.

Link to this function

create(new_model, position)

See AsNestedSet.Modifiable.create/2.

Link to this function

create(new_model, target, position)

See AsNestedSet.Modifiable.create/3.

Link to this function

defined?(struct)

defined?(struct()) :: boolean()

See AsNestedSet.Modifiable.delete/1.

Link to this function

descendants(target)

See AsNestedSet.Queriable.descendants/1.

Link to this function

dump(module, scope)

See AsNestedSet.Queriable.dump/2.

Link to this function

dump(module, scope, parent_id)

See AsNestedSet.Queriable.dump/3.

Link to this function

dump_one(module, scope)

See AsNestedSet.Queriable.dump_one/2.

Link to this function

execute(call, repo)

execute(executable(), Ecto.Repo.t()) :: any()
Link to this function

leaves(module, scope)

See AsNestedSet.Queriable.leaves/2.

Link to this function

move(model, position)

See AsNestedSet.Modifiable.move/2.

Link to this function

move(model, target, position)

See AsNestedSet.Modifiable.move/3.

See AsNestedSet.Modifiable.reload/1.

Link to this function

right_most(target)

See AsNestedSet.Queriable.right_most/1.

Link to this function

right_most(module, scope)

See AsNestedSet.Queriable.right_most/2.

Link to this function

root(module, scope)

See AsNestedSet.Queriable.root/2.

Link to this function

roots(module, scope)

See AsNestedSet.Queriable.roots/2.

Link to this function

self_and_descendants(target)

See AsNestedSet.Queriable.self_and_descendants/1.

Link to this function

self_and_siblings(target)

See AsNestedSet.Queriable.self_and_siblings/1.

Link to this function

traverse(node, context, pre, post)

See AsNestedSet.Traversable.traverse/4.

Link to this function

traverse(module, scope, context, pre, post)

See AsNestedSet.Traversable.traverse/5.