Skip to content

Commit 84ac14f

Browse files
committed
update mongoc_write_concern_t doc
1 parent be13b52 commit 84ac14f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

doc/mongoc_write_concern_t.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,22 +28,22 @@ See `Write Concern <http://docs.mongodb.org/manual/core/write-concern/>`_ on the
2828
Write Concern Levels
2929
--------------------
3030

31+
Set the write concern level with :symbol:`mongoc_write_concern_set_w`.
32+
3133
========================================== ===============================================================================================================================================================================================================
3234
MONGOC_WRITE_CONCERN_W_DEFAULT (1) By default, writes block awaiting acknowledgment from MongoDB. Acknowledged write concern allows clients to catch network, duplicate key, and other errors.
3335
MONGOC_WRITE_CONCERN_W_UNACKNOWLEDGED (0) With this write concern, MongoDB does not acknowledge the receipt of write operation. Unacknowledged is similar to errors ignored; however, mongoc attempts to receive and handle network errors when possible.
3436
MONGOC_WRITE_CONCERN_W_MAJORITY (majority) Block until a write has been propagated to a majority of the nodes in the replica set.
3537
n Block until a write has been propagated to at least ``n`` nodes in the replica set.
3638
========================================== ===============================================================================================================================================================================================================
3739

38-
======= ===================================================================
39-
journal Block until the node receiving the write has committed the journal.
40-
======= ===================================================================
41-
42-
Deprecation
43-
-----------
40+
Deprecations
41+
------------
4442

4543
The write concern ``MONGOC_WRITE_CONCERN_W_ERRORS_IGNORED`` (value -1) is a deprecated synonym for ``MONGOC_WRITE_CONCERN_W_UNACKNOWLEDGED`` (value 0), and will be removed in the next major release.
4644

45+
:symbol:`mongoc_write_concern_set_fsync` is deprecated.
46+
4747
.. only:: html
4848

4949
Functions

0 commit comments

Comments
 (0)