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

Library to store and manage nested set trees using Sequelize

Results 10 sequelize-nested-set issues
Sort by recently updated
recently updated
newest added

Now we have a lof of examples for exact functions, but not the main "quick start" example that shows the code, that works out-of-the-box. So I suggest to add a...

As example I'm trying to create `Tag` nested set with tree structure like this: ``` Electronics - TVs - - Apple - - Samsung - Phones - - Xiaomi ```...

Here is the full list of functions: - [x] createRoot - [x] fetchRoot - [x] fetchTree - [x] fetchRoots - [x] hasPrevSibling - [x] hasNextSibling - [x] hasChildren - [x]...

enhancement

I use fake data to generate about 10 root menu and about 100 menu. I have simple test unit with fake data: ```js const tree = await Menu.fetchTree(0, rootId, {...

help wanted

Here is the full list of functions: - [ ] createRoot - [ ] fetchRoot - [ ] fetchTree - [ ] fetchRoots - [ ] hasPrevSibling - [ ]...

enhancement
help wanted

Actually we need rootId param only for multi-root trees. Here is a list of API functions with the issue: - Model.fetchRoot = async function (rootId = 1, options = {})...

enhancement
Single-root
help wanted

Here is the full list of functions: - [ ] createRoot - [ ] fetchRoot - [ ] fetchTree - [ ] fetchRoots - [ ] hasPrevSibling - [ ]...

enhancement
help wanted

Move private functions to a separate file and restrict access to them.

enhancement