Skip to content

Commit af0f5bb

Browse files
author
Dave
authored
DOCSP-20558 fix unexpected field post (#427)
* DOCSP-20558 fix unexpected field post * Add post reference after include use * Tweek shell reference
1 parent c55598a commit af0f5bb

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.mongosh`
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
@@ -67,6 +67,9 @@ Behavior
6767

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

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

0 commit comments

Comments
 (0)