Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Use Postgres LTREE for groups hierarchy #2214

Open
4 tasks
arvindh123 opened this issue May 3, 2024 · 0 comments
Open
4 tasks

Feature: Use Postgres LTREE for groups hierarchy #2214

arvindh123 opened this issue May 3, 2024 · 0 comments
Assignees
Milestone

Comments

@arvindh123
Copy link
Contributor

arvindh123 commented May 3, 2024

Is your feature request related to a problem? Please describe.

Reference: #1980

Describe the feature you are requesting, as well as the possible use case(s) for it.

Implmentation

  • Create Extension LTREE in postgres
  • Add a column with name path and type as LTREE
  • While inserting new row
    If the inserting new row have no parent . path column should have value of id
    If the inserting new row have parent, Get the path column should have parent path + .+ id
  • Retrieve Ancestors / Parents and Descendants / Children by using the below given in Add LTREE Path in Groups #1980

Indicate the importance of this feature to you.

Should-have

Anything else?

No response

@arvindh123 arvindh123 added this to the S4 milestone May 3, 2024
@dborovcanin dborovcanin changed the title Feature: Retrieve Parents and Children groups using Postgres LTREE. Feature: Use Postgres LTREE for groups hierarchy May 15, 2024
@dborovcanin dborovcanin modified the milestones: S4, S5 May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
Development

No branches or pull requests

3 participants