-
Notifications
You must be signed in to change notification settings - Fork 24
DOCSP-49067: Cursors #584
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
DOCSP-49067: Cursors #584
Conversation
✅ Deploy Preview for docs-csharp ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
overall looks good just added a few comments to support completeness
:start-after: start-cursor-iterate | ||
:end-before: end-cursor-iterate | ||
:language: csharp | ||
:dedent: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
S: for all examples, consider showing some output to demonstrate the differences in how results look when accessing iteratively vs from a list, etc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pretty sure there's no difference in output between cursors and lists, it's just differences in program flow. With the current filters this would just be printing Starbucks/Dunkin' Donuts a bunch. I'm not sure including output would help illustrate any functionality differences. Should I tweak the filters so it at least prints different restaurant names?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that showing a print statement in the code example might lead users to expect an output block, but it's up to you.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Pull Request Info
PR Reviewing Guidelines
JIRA - https://jira.mongodb.org/browse/DOCSP-49067
Staging Links
Self-Review Checklist