Skip to content

Commit 344a891

Browse files
committed
style fixes
1 parent 3520be4 commit 344a891

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

snooty.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,6 @@ php-library = "MongoDB PHP Library"
3636
driver-short = "PHP library"
3737
stable-api = "Stable API"
3838
mdb-server = "MongoDB Server"
39+
extension-short = "PHP extension"
3940
api = "https://www.mongodb.com/docs/php-library/current/reference"
4041
php-manual = "https://www.php.net/manual/en"

source/write/run-command.txt

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ Execute a Command
4444

4545
To run a database command, you must specify the command and any relevant
4646
parameters in a command document, then pass the command document to the
47-
``command()`` method. This method returns a ``Cursor`` object.
47+
``MongoDB\Database::command()`` method. This method returns a
48+
``Cursor`` object.
4849

4950
The following code shows how you can use the ``command()``
5051
method on a database to run the ``hello`` command, which returns
@@ -172,5 +173,13 @@ documentation in the {+mdb-server+} manual:
172173
API Documentation
173174
~~~~~~~~~~~~~~~~~
174175

176+
For more information about the ``command()`` method, see the
177+
following {+php-library+} API documentation:
178+
175179
- `MongoDB\\Database::command() <{+api+}/method/MongoDBDatabase-command/>`__
176-
- `MongoDB\\Driver\\ReadPreference <https://www.php.net/manual/en/class.mongodb-driver-readpreference.php>`__
180+
181+
For more information about the ``MongoDB\Driver\ReadPreference`` class,
182+
see the following {+extension-short+} API documentation:
183+
184+
- `MongoDB\\Driver\\ReadPreference
185+
<https://www.php.net/manual/en/class.mongodb-driver-readpreference.php>`__

0 commit comments

Comments
 (0)