Merge pull request #1857 from bagerard/fix_doc_of_delete_write_concern
Fix .delete doc of **write_concern
This commit is contained in:
commit
28cdedc9aa
@ -585,9 +585,8 @@ class Document(BaseDocument):
|
|||||||
:param signal_kwargs: (optional) kwargs dictionary to be passed to
|
:param signal_kwargs: (optional) kwargs dictionary to be passed to
|
||||||
the signal calls.
|
the signal calls.
|
||||||
:param write_concern: Extra keyword arguments are passed down which
|
:param write_concern: Extra keyword arguments are passed down which
|
||||||
will be used as options for the resultant
|
will be used as options for the resultant ``getLastError`` command.
|
||||||
``getLastError`` command. For example,
|
For example, ``save(..., w: 2, fsync: True)`` will
|
||||||
``save(..., write_concern={w: 2, fsync: True}, ...)`` will
|
|
||||||
wait until at least two servers have recorded the write and
|
wait until at least two servers have recorded the write and
|
||||||
will force an fsync on the primary server.
|
will force an fsync on the primary server.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user