Skip to content

Commit 26a77d0

Browse files
author
Dave
authored
DOCSP-20558-BACKPORT (#429)
1 parent 454dc52 commit 26a77d0

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

source/includes/extracts-gle-methods-behavior.yaml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,6 @@ ref: db.getLastErrorObj-definition
1818
inherit:
1919
ref: _gle-method-definition
2020
file: extracts-gle-methods-behavior-base.yaml
21-
post: |
22-
The :method:`db.getLastErrorObj()` is a :binary:`~bin.mongo` shell
23-
wrapper around the :dbcommand:`getLastError` command.
2421
replacement:
2522
gle: ":method:`db.getLastErrorObj()`"
2623
returnobj: :ref:`document <getLastError-output>`
@@ -29,9 +26,6 @@ ref: db.getLastErrorObj-behavior
2926
inherit:
3027
ref: _gle-method-behavior
3128
file: extracts-gle-methods-behavior-base.yaml
32-
post: |
33-
For information on the returned document, see :ref:`getLastError
34-
command <getLastError-output>`.
3529
replacement:
3630
gle: ":method:`db.getLastErrorObj()`"
3731
returnobj: :ref:`document <getLastError-output>`

source/reference/method/db.getLastErrorObj.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,9 @@ Behavior
6666

6767
.. include:: /includes/extracts/db.getLastErrorObj-behavior.rst
6868

69+
The :method:`db.getLastErrorObj()` is a shell wrapper around the
70+
:dbcommand:`getLastError` command.
71+
6972
Example
7073
-------
7174

0 commit comments

Comments
 (0)