Skip to content

Commit 44f9cc3

Browse files
committed
feedback
1 parent 5da5dec commit 44f9cc3

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

source/run-command.txt

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ Execute a Command
4747

4848
You can use the ``command()`` method to run a database command. You must specify
4949
the command and any relevant arguments. If the command is simple, these can be
50-
passed as strings. Otherwise, they can be passed as a ``dict``.
50+
passed as strings. Otherwise, they can be passed as a ``dict`` object.
5151
The method will return the result of the command that was run.
5252

5353
The following code shows how you can use the ``command()``
@@ -121,7 +121,7 @@ command, which returns information about the server:
121121
'operationTime': Timestamp(1730486145, 22)
122122
}
123123

124-
To find a link to a full list of database commands and corresponding
124+
For a full list of database commands and corresponding
125125
parameters, see the :ref:`Additional Information section
126126
<pymongo-addtl-info-runcommand>`.
127127

@@ -137,7 +137,7 @@ The ``CommandCursor`` can be used to iterate over command results.
137137

138138
The following example uses the ``cursor_command()`` method on the ``sample_mflix``
139139
database. It runs the ``find`` command on the ``movies`` database to filter by
140-
documents in which the ``runtime``field has a value of ``11``.
140+
documents in which the ``runtime`` field has a value of ``11``.
141141

142142
.. io-code-block::
143143
:copyable: true
@@ -166,8 +166,7 @@ documents in which the ``runtime``field has a value of ``11``.
166166
},
167167
...
168168

169-
Before you run a command, learn about the response format of the command so that
170-
you can handle the ``CommandCursor`` accordingly.
169+
To learn about the response format of the command, see :manual:`Database Commands </reference/command/>`.
171170

172171
.. note:: Read Preference
173172

0 commit comments

Comments
 (0)