-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
feat: introduce AbstractCursor and its concrete subclasses #2619
Merged
Commits on Nov 25, 2020
-
feat: introduce AbstractCursor and its concrete subclasses
This change introduces a fundamental redesign of the cursor types in the driver. The first change is to add a new `AbstractCursor` type, which is only concerned with iterating a cursor (using `getMore`) once it has been initialized. The `_initialize` method must be implemented by subclasses. The concrete subclasses are generally builders for `find` and `aggregate` commands, each providing their own custom initialization method. NODE-2809
Configuration menu - View commit details
-
Copy full SHA for 191c69b - Browse repository at this point
Copy the full SHA 191c69bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5cf7748 - Browse repository at this point
Copy the full SHA 5cf7748View commit details -
Configuration menu - View commit details
-
Copy full SHA for c589a34 - Browse repository at this point
Copy the full SHA c589a34View commit details -
Configuration menu - View commit details
-
Copy full SHA for c2bd343 - Browse repository at this point
Copy the full SHA c2bd343View commit details -
Configuration menu - View commit details
-
Copy full SHA for e0efd09 - Browse repository at this point
Copy the full SHA e0efd09View commit details -
Configuration menu - View commit details
-
Copy full SHA for f2d1e73 - Browse repository at this point
Copy the full SHA f2d1e73View commit details -
Configuration menu - View commit details
-
Copy full SHA for 037e759 - Browse repository at this point
Copy the full SHA 037e759View commit details -
Configuration menu - View commit details
-
Copy full SHA for c99d32f - Browse repository at this point
Copy the full SHA c99d32fView commit details -
Configuration menu - View commit details
-
Copy full SHA for b0d105e - Browse repository at this point
Copy the full SHA b0d105eView commit details -
Configuration menu - View commit details
-
Copy full SHA for fe56c1a - Browse repository at this point
Copy the full SHA fe56c1aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5bb33b4 - Browse repository at this point
Copy the full SHA 5bb33b4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 207e774 - Browse repository at this point
Copy the full SHA 207e774View commit details -
Configuration menu - View commit details
-
Copy full SHA for a68a164 - Browse repository at this point
Copy the full SHA a68a164View commit details -
Update test/functional/abstract_cursor.test.js
Co-authored-by: Eric Adum <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bcb37b0 - Browse repository at this point
Copy the full SHA bcb37b0View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.