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

Need samples/docs for alternative to hasMoreResults() #105

Closed
k-miyake opened this issue Aug 21, 2018 · 1 comment
Closed

Need samples/docs for alternative to hasMoreResults() #105

k-miyake opened this issue Aug 21, 2018 · 1 comment

Comments

@k-miyake
Copy link

k-miyake commented Aug 21, 2018

According to the API reference "hasMoreResults" is abolished.
However, there is no sample of alternative, so it is difficult to understand how to change it.
In addition, "hasMoreResults" is still used for many tests.

I think it would be nice to have samples on how to change the following code.

while (queryIterator.hasMoreResults()) {
    let { result: items } = await queryIterator.executeNext();
    console.log(items);
}
@k-miyake k-miyake changed the title Need samples/docs for alternative to hasMoreResults Need samples/docs for alternative to hasMoreResults() Aug 21, 2018
@christopheranderson christopheranderson added this to the V3 GA milestone Jun 3, 2019
@southpolesteve
Copy link
Contributor

hasMoreResults is still on QueryIterator

public hasMoreResults(): boolean {

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

No branches or pull requests

3 participants