Skip to content

Releases: AntonDemushkin/sequelize-nested-set

Fixes for no-level running

Choose a tag to compare

@AntonDemushkin AntonDemushkin released this 23 Jul 22:04
  • Fix updateNode(): don't increment level if no level column.
  • Allow level to be null if it's virtual.
  • Add more tests.

Fix getAncestors() and more tests

Choose a tag to compare

@AntonDemushkin AntonDemushkin released this 06 Jul 22:56
  • Fix getAncestors() for depth greater than 1.
  • Add more tests (isEqualTo, isDescendantOf, isDescendantOfOrEqualTo, isAncestorOf).

Optional level field, add parentId field support

Choose a tag to compare

@AntonDemushkin AntonDemushkin released this 06 Jul 20:20

See #12 and #6