Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion source/connect.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ Connect to MongoDB
Create a Client </connect/mongoclient>
Stable API </connect/stable-api>
Choose a Connection Target </connect/connection-targets>
Connection Option </connect/connection-options>
Connection Options </connect/connection-options>
Configure TLS </connect/tls>
13 changes: 9 additions & 4 deletions source/connect/connection-options.txt
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,10 @@ Server Selection
defined in the client options or defaults to a Primary
server selector.
|
| For more information on read preference modes, see the
:manual:`Server Selection Algorithm </core/read-preference-mechanics/>`
documentation in the {+mdb-server+} manual.
|
| **Data Type**: ``ServerSelector``
| **Default**: none
| **Client Example**: ``server_selector: { mode: :secondary_preferred }``
Expand Down Expand Up @@ -247,16 +251,16 @@ Read and Write Operations

* - **:read**
- | The read preference options. For more information,
see :manual:`Read Preference </core/read-preference/>` in the Server manual.
see :manual:`Read Preference </core/read-preference/>` in the {+mdb-server+} manual.
|
| **Data Type**: ``Hash``
| **Default**: ``{ :mode: :primary }``
| **Default**: ``{ mode: :primary }``
| **Client Example**: ``read: { mode: :primary }``
| **Connection URI Example**: ``readPreference=primary``

* - **:read_concern**
- | Specifies the read concern options. For more information, see
:manual:`Read Concern </reference/read-concern/>` in the Server manual.
:manual:`Read Concern </reference/read-concern/>` in the {+mdb-server+} manual.
|
| **Data Type**: ``Hash``
| **Default**: none
Expand All @@ -265,7 +269,8 @@ Read and Write Operations

* - **:write_concern**
- | Specifies the client's write concern. For more
information, see :manual:`Write Concern </reference/write-concern/>` in the Server manual.
information, see :manual:`Write Concern </reference/write-concern/>` in
the {+mdb-server+} manual.
|
| **Data Type**: ``Hash``
| **Default**: ``write_concern: { w: 1 }``
Expand Down
Loading