From 88611878bc9227dca21f091047203a7687a64569 Mon Sep 17 00:00:00 2001 From: Steve Renaker Date: Tue, 29 Mar 2016 09:33:55 -0700 Subject: [PATCH 1/2] DOCS-7423: changed wording for getLastError.n entry --- source/reference/command/getLastError.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/reference/command/getLastError.txt b/source/reference/command/getLastError.txt index f07c4e0f765..adcea9e7d78 100644 --- a/source/reference/command/getLastError.txt +++ b/source/reference/command/getLastError.txt @@ -88,10 +88,10 @@ subset of the fields listed below. For a remove operation, the number of matched documents will equal the number removed. - For an update operation, if the update operation results in no + For an update operation, if the operation results in no change to the document, such as setting the value of the field to - its current value, the number of matched documents may be smaller - than the number of documents actually modified. If the update + its current value, the number of modified documents may be smaller + than the number of documents actually matched. If the update includes the ``upsert:true`` option and results in the creation of a new document, :data:`~getLastError.n` returns the number of documents inserted. From 34d289ea443f39ea3e813552fdb14e8985ea83b9 Mon Sep 17 00:00:00 2001 From: Steve Renaker Date: Wed, 13 Apr 2016 09:50:06 -0700 Subject: [PATCH 2/2] DOCS-7423: fixed wording of getLastError.n output description --- source/reference/command/getLastError.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/reference/command/getLastError.txt b/source/reference/command/getLastError.txt index adcea9e7d78..d11d955c586 100644 --- a/source/reference/command/getLastError.txt +++ b/source/reference/command/getLastError.txt @@ -90,8 +90,8 @@ subset of the fields listed below. For an update operation, if the operation results in no change to the document, such as setting the value of the field to - its current value, the number of modified documents may be smaller - than the number of documents actually matched. If the update + its current value, the number of matched documents may be smaller + than the number of documents actually modified. If the update includes the ``upsert:true`` option and results in the creation of a new document, :data:`~getLastError.n` returns the number of documents inserted.