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

Is it possible to limit results of an entity in a join? #10

Open
hks1 opened this issue Dec 20, 2022 · 0 comments
Open

Is it possible to limit results of an entity in a join? #10

hks1 opened this issue Dec 20, 2022 · 0 comments

Comments

@hks1
Copy link

hks1 commented Dec 20, 2022

I have a data model wherein classA has a one-to-many relationship with classB.
When I query classA by ID, I want to limit the classB results in the response.

e.g. lets say classA is a Customer class and classB is an Order class and I want to pull only last 6 (configurable) orders or so instead of lets say the whole history of last 5 years, or whatever is stored.

Right now I get the whole list.

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