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 add limit in hasMany relationship? #284

Open
prashant-pokhriyal opened this issue Jan 17, 2019 · 0 comments
Open

How to add limit in hasMany relationship? #284

prashant-pokhriyal opened this issue Jan 17, 2019 · 0 comments

Comments

@prashant-pokhriyal
Copy link

I've to tables

  • members
  • member_pics

A single member may have many pictures. While retrieving I want to get only one image of the member using hasMany relationship functionality. Is there any way I can pass limit in with method?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant