File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
source/fundamentals/databases-collections Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -53,10 +53,9 @@ Execute a Command
5353
5454To run a database command, create a ``BsonDocument`` object that specifies
5555the command and pass it as a parameter to the ``RunCommand()`` or ``RunCommandAsync()``
56- method. You can specify the type returned by the ``RunCommand()`` and ``RunCommandAsync()``
57- methods by specifying the type parameter. You can use the ``BsonDocument`` type to return
58- the command response, or you can specify your own strongly typed class to deserialize
59- the command response.
56+ method. You can specify the type returned by these methods by specifying the type parameter.
57+ You can use the ``BsonDocument`` type to return the command response, or you can specify your
58+ own strongly typed class to deserialize the command response.
6059
6160The following example runs the ``hello`` command on a database, which returns information
6261about the server. Select the :guilabel:`Asynchronous` or :guilabel:`Synchronous`
@@ -154,11 +153,11 @@ following fields:
154153 * - ``$clusterTime``
155154 - A document that contains the signed cluster time. Cluster time is a
156155 logical time used for the ordering of operations. This field only
157- applies to commands run on replica sets or sharded cluster .
156+ applies to commands run on replica sets or sharded clusters .
158157
159158 * - ``operationTime``
160159 - The logical time of the operation execution. This field only
161- applies to commands run on replica sets or sharded cluster .
160+ applies to commands run on replica sets or sharded clusters .
162161
163162.. tip::
164163
You can’t perform that action at this time.
0 commit comments