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

FetchOptions #37

Closed
tttzach opened this issue Jun 10, 2020 · 0 comments
Closed

FetchOptions #37

tttzach opened this issue Jun 10, 2020 · 0 comments

Comments

@tttzach
Copy link
Owner

tttzach commented Jun 10, 2020

I was thinking in using something like FetchOptions

// limit 10
datastoreService.prepare(query).asList(FetchOptions.Builder.withLimit(10));

to remove the need of keeping track of the index and comparing that to max, but I think your approach looks super clean now :)

Originally posted by @gbuenoandrade in #30

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