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

when query by page, the page parameter doesn't works #348

Open
kutang opened this issue Jul 22, 2020 · 0 comments
Open

when query by page, the page parameter doesn't works #348

kutang opened this issue Jul 22, 2020 · 0 comments

Comments

@kutang
Copy link

kutang commented Jul 22, 2020

my code will like this:
int page = 3;
int perPage = 10;
CosmosPageRequest pageRequest = new CosmosPageRequest(page, perPage, null, sort);
Page page = repository.queryXX(pageRequest);
But the page only return the first 10 records(1-10),not from 30 to 40。I had viewed the Code CosmosTemplate.java,found that the parameter page won't be used in any places。yours sincerely。

@kutang kutang changed the title the page size doesn't work when query by page, the page parameter doesn't works Jul 22, 2020
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