Skip to content

feat: add withReadConcern builder to AbstractCursor #2645

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 1 commit into from
Dec 1, 2020

Conversation

mbroadst
Copy link
Member

This patch adds a builder method to add a read concern to a cursor similar to the existing method to build with a ReadPreference. It also changes setReadPreference to withReadPreference so the two follow a common convention.

NODE-2806

@mbroadst mbroadst requested review from emadum and nbbeeken November 30, 2020 21:45
This patch adds a builder method to add a read concern to a cursor
similar to the existing method to build with a ReadPreference. It
also changes `setReadPreference` to `withReadPreference` so the two
follow a common convention.

NODE-2806
@mbroadst mbroadst force-pushed the NODE-2806/cursor-with-read-concern branch from efa46e2 to 0cab1f0 Compare December 1, 2020 16:02
@mbroadst mbroadst merged commit 0cca729 into master Dec 1, 2020
@mbroadst mbroadst deleted the NODE-2806/cursor-with-read-concern branch December 1, 2020 23:27
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants