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

google-cloud-datastore Add more_results value to query results #4504

Closed
mtso opened this issue Feb 15, 2019 · 0 comments
Closed

google-cloud-datastore Add more_results value to query results #4504

mtso opened this issue Feb 15, 2019 · 0 comments
Assignees
Labels
api: datastore Issues related to the Datastore API. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.

Comments

@mtso
Copy link

mtso commented Feb 15, 2019

Please return the MoreResults query state value in query results. The end cursor to the next set of results will often return an empty result set, so this value could be used to determine whether or not the next page should be fetched and checked for pagination (and thus confidently return an empty next cursor if the next page is indeed empty as well). The QueryResultImpl only checks if the state value is not "NOT_FINISHED", not the other values as well.

See #3279

@JesseLovelace JesseLovelace added api: datastore Issues related to the Datastore API. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design. labels Feb 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: datastore Issues related to the Datastore API. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.
Projects
None yet
Development

No branches or pull requests

3 participants