Skip to content

Commit 95ffe6e

Browse files
sarah-olson-mongodbSarah Olsonjeff-allen-mongo
authored
Docs 15022 v4.4 (#555)
* Changed location of comment field (#478) * Changed location of comment field * DOCS-15022: Reordered the comment field in code block syntax and table description. * Update source/reference/command/delete.txt Co-authored-by: jeff-allen-mongo <[email protected]> * Update source/reference/command/delete.txt Co-authored-by: jeff-allen-mongo <[email protected]> * Update source/reference/command/delete.txt Co-authored-by: jeff-allen-mongo <[email protected]> Co-authored-by: Sarah Olson <[email protected]> Co-authored-by: jeff-allen-mongo <[email protected]> * Clean up cherry pick. Remove let option * Clean up additional Let option from cherry pick * One more cherry pick cleanup; remove let description Co-authored-by: Sarah Olson <[email protected]> Co-authored-by: jeff-allen-mongo <[email protected]>
1 parent c5ec7e7 commit 95ffe6e

File tree

1 file changed

+13
-16
lines changed

1 file changed

+13
-16
lines changed

source/reference/command/delete.txt

Lines changed: 13 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -23,20 +23,20 @@ Definition
2323

2424
The :dbcommand:`delete` command has the following syntax:
2525

26-
.. code-block:: javascript
26+
.. code-block:: none
2727

2828
{
29-
delete: <collection>,
29+
delete: <collection>,
3030
deletes: [
3131
{
3232
q : <query>,
3333
limit : <integer>,
3434
collation: <document>,
35-
hint: <document|string>,
36-
comment: <any>
35+
hint: <document|string>
3736
},
3837
...
3938
],
39+
comment: <any>,
4040
ordered: <boolean>,
4141
writeConcern: { <write concern> }
4242
}
@@ -74,7 +74,14 @@ Definition
7474
collection.
7575

7676

77-
77+
* - ``comment``
78+
79+
- any
80+
81+
- .. include:: /includes/extracts/comment-content.rst
82+
83+
.. versionadded:: 4.4
84+
7885
* - :ref:`ordered <delete-command-ordered>`
7986

8087
- boolean
@@ -98,17 +105,7 @@ Definition
98105
of the :dbcommand:`delete` command. Omit to use the default write
99106
concern.
100107

101-
.. include:: /includes/extracts/transactions-operations-write-concern.rst
102-
103-
104-
* - ``comment``
105-
106-
- any
107-
108-
- .. include:: /includes/extracts/comment-content.rst
109-
110-
.. versionadded:: 4.4
111-
108+
.. include:: /includes/extracts/transactions-operations-write-concern.rst
112109

113110

114111
.. |operation| replace:: delete

0 commit comments

Comments
 (0)