-
-
Notifications
You must be signed in to change notification settings - Fork 12
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
Docs/Samples: Looping through entire queryable #36
Comments
Can you elaborate? What kind of sample are we talking about exactly? If by "not bring in everything at once" you mean columns, creating a dto isn't that much different. |
Roughly this:
Maybe also thinking a bit about the PageIterator from MS Graph SDK 5. |
Ah, you're talking about batching. There are very specific use cases for this and the way you would deal with doing some work in batches is pretty much the same in non KeysetPagination code (but instead of storing a But I do see that KeysetPagination is particularly efficient in such batched scanning operations compared to the classic method, so might be worth it to have a sample on this after all. |
The example I provided for a different issue seems relevant here, even though I encapsulated it. It could also be rewritten into a convenient extension method btw without the MediatR sugar/encapsulation ;) |
The current sample is for interactive - how about a sample for headless where the entire purpose is to not bring in everything at once? (think huge tables that simply need to scanned)
The text was updated successfully, but these errors were encountered: