Skip to content

Commit 7a1d47f

Browse files
committed
DOCS-475 nonAtomic doc
1 parent a4d3f39 commit 7a1d47f

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

source/reference/method/db.collection.mapReduce.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,17 @@ db.collection.mapReduce()
153153
shard the results collection according to the
154154
``_id`` field.
155155

156+
:param nonAtomic:
157+
158+
.. versionadded:: 2.1
159+
160+
Optional. Specify output operation as non-atomic such that
161+
the output behaves like a normal ``multi`` :method:`update()
162+
<db.collection.update()>`. The option is valid only for
163+
``merge`` and ``reduce`` output operations. If ``true``, post
164+
processing step will not be executed under the write lock,
165+
and partial results will be visible as they are processed.
166+
156167
.. seealso:: :term:`map-reduce`, provides a greater overview
157168
of MongoDB's map-reduce functionality.
158169

0 commit comments

Comments
 (0)