Skip to content

Commit 06e54e1

Browse files
committed
document fam reply is empty for w0 (#789)
If an unacknowledged write concern is used as an option for a mongoc_find_and_modify_with_opts, the output reply document is always empty.
1 parent 7be670e commit 06e54e1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/libmongoc/doc/mongoc_collection_find_and_modify_with_opts.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ Update and return an object.
3232

3333
``reply`` is always initialized, and must be freed with :symbol:`bson:bson_destroy()`.
3434

35+
If an unacknowledged write concern is set (through :symbol:`mongoc_find_and_modify_opts_append`), the output ``reply`` is always an empty document.
36+
3537
Errors
3638
------
3739

0 commit comments

Comments
 (0)