-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
limit and skip parameters not working on relation model #4006
Comments
@traghave The cloudant connector somehow doesn't set the |
@traghave What does "ManytoMany" in the description mean? Is it a |
@jannyHou
in |
Cloudant connector has the problem, haven't checked other connectors: When many-to-many relation has a through model, for example
Query a The connector first finds all the through model instances using |
As a workaround fix, PR loopbackio/loopback-connector-cloudant#196 allows user to define a The real fix should:
|
|
I am closing this issue. User can set a
|
follow up issue see loopbackio/loopback-connector-cloudant#197 |
Team
andResource
I tried to follow couple of links
Querying associated model with scope and limit #1744
but still no luck
could you help?
@jannyHou
Description/Steps to reproduce
findById
along with related model usinginclude
filter, result is always containing the 25 items from related model.tried with below filter object
filter = {'include' : { 'relation' : 'resources', 'scope' : {'limit' : 2000, 'skip': 0}}};
Expected result
findById
should return all the related model objects for the model.Additional information
The text was updated successfully, but these errors were encountered: