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

How to implement Many-to-many relation with services #267

Closed
kulakowka opened this issue Mar 16, 2016 · 2 comments
Closed

How to implement Many-to-many relation with services #267

kulakowka opened this issue Mar 16, 2016 · 2 comments

Comments

@kulakowka
Copy link

We will use postgres from feathers-sequelize for example:

  • Article have many Users.
  • User have many Articles.

How to get paginated user articles ?
How to get paginated article users?

With one to many, i can use hook for paginated list: http://docs.feathersjs.com/hooks/examples.html#fetching-related-items

But i can't understand, how to get related items with many-to-many relation?

How i can make it with REST services?

@ekryski
Copy link
Contributor

ekryski commented Mar 16, 2016

We have an open issue for this in the docs. So I'll defer to that one for now. I'm hoping to have this something up tomorrow or Friday. feathersjs-ecosystem/docs#51

@lock
Copy link

lock bot commented Feb 7, 2019

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue with a link to this issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Feb 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants