We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a051a2a commit c30040bCopy full SHA for c30040b
lib/mongo/client.rb
@@ -616,7 +616,7 @@ def server_selector
616
#
617
# @return [ BSON::Document ] The user-defined read preference.
618
# The document may have the following fields:
619
- # - *:read* -- read preference specified as a symbol; valid values are
+ # - *:mode* -- read preference specified as a symbol; valid values are
620
# *:primary*, *:primary_preferred*, *:secondary*, *:secondary_preferred*
621
# and *:nearest*.
622
# - *:tag_sets* -- an array of hashes.
0 commit comments