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

Fetch siblings with pivot #14

Closed
tanner0101 opened this issue Mar 20, 2019 · 2 comments
Closed

Fetch siblings with pivot #14

tanner0101 opened this issue Mar 20, 2019 · 2 comments
Labels
enhancement New feature or request
Projects

Comments

@tanner0101
Copy link
Member

The siblings relation requires a pivot table to relate models. In this table, the user can store some extra information regarding the relation. However, it's currently not easy to access that pivot info when you fetch siblings. Fluent 4 should make this easier.

@tanner0101 tanner0101 added the enhancement New feature or request label Mar 20, 2019
@tanner0101 tanner0101 added this to To Do in Vapor 4 via automation Mar 20, 2019
Vapor 4 automation moved this from Backlog to Done Mar 6, 2020
@tanner0101 tanner0101 reopened this Mar 6, 2020
Vapor 4 automation moved this from Done to Awaiting Review Mar 6, 2020
@tanner0101 tanner0101 moved this from Awaiting Review to Backlog in Vapor 4 Mar 6, 2020
@tanner0101 tanner0101 moved this from Backlog to To Do in Vapor 4 Mar 6, 2020
@tanner0101 tanner0101 changed the title include pivot info w/ siblings Fetch siblings with pivot May 8, 2020
@patchthecode
Copy link

patchthecode commented Oct 3, 2020

I was just wondering if this was completed or still pending?
This would be a very good nice to have.
This causes a lot of extra code in several places in my server app.

@patchthecode
Copy link

even if you do not have the update ready, is it possibly you can guide me to a solution so i can hack up something myself?

@gwynne gwynne closed this as completed Jan 31, 2024
Vapor 4 automation moved this from To Do to Done Jan 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Vapor 4
  
Done
Development

No branches or pull requests

3 participants