sequelize-nested-set icon indicating copy to clipboard operation
sequelize-nested-set copied to clipboard

Write tests for multi-root trees

Open fremail opened this issue 6 years ago • 0 comments

Here is the full list of functions:

  • [x] createRoot
  • [x] fetchRoot
  • [x] fetchTree
  • [x] fetchRoots
  • [x] hasPrevSibling
  • [x] hasNextSibling
  • [x] hasChildren
  • [x] hasParent
  • [x] getPrevSibling
  • [x] getNextSibling
  • [x] getSiblings
  • [x] getFirstChild
  • [x] getLastChild
  • [x] getChildren
  • [x] getDescendants
  • [x] getParent
  • [x] getAncestors
  • [x] getNumberChildren
  • [x] getNumberDescendants
  • [ ] insertAsParentOf
  • [ ] insertAsPrevSiblingOf
  • [ ] insertAsNextSiblingOf
  • [ ] insertAsFirstChildOf
  • [ ] insertAsLastChildOf
  • [ ] moveBetweenTrees
  • [ ] moveAsPrevSiblingOf
  • [x] moveAsNextSiblingOf
  • [ ] moveAsFirstChildOf
  • [ ] moveAsLastChildOf
  • [x] makeRoot
  • [x] addChild
  • [x] isLeaf
  • [x] isRoot
  • [x] isEqualTo
  • [x] isDescendantOf
  • [x] isDescendantOfOrEqualTo
  • [x] isAncestorOf
  • [x] isValidNode
  • [x] detach
  • [x] delete
  • [ ] insertNode
  • [ ] updateNode
  • [ ] shiftRlValues
  • [ ] shiftRlRange

fremail avatar Jan 24 '19 22:01 fremail