Skip to content

Commit c49b4bc

Browse files
committed
Update server doc links for database, collection, index enumeration
Also moves the retryable reads include for listDatabases to be consistent with other pages.
1 parent d1b36ba commit c49b4bc

5 files changed

+10
-4
lines changed

src/libmongoc/doc/mongoc_client_find_databases_with_opts.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ Synopsis
1414
1515
Fetches a cursor containing documents, each corresponding to a database on this MongoDB server.
1616

17+
.. include:: includes/retryable-read.txt
18+
1719
Parameters
1820
----------
1921

@@ -24,7 +26,7 @@ Parameters
2426

2527
.. include:: includes/generic-opts.txt
2628

27-
.. include:: includes/retryable-read.txt
29+
For a list of all options, see `the MongoDB Manual entry on the listDatabases command <https://www.mongodb.com/docs/manual/reference/command/listDatabases/>`_.
2830

2931
Errors
3032
------

src/libmongoc/doc/mongoc_client_get_database_names_with_opts.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ Synopsis
1616
1717
This function queries the MongoDB server for a list of known databases.
1818

19+
.. include:: includes/retryable-read.txt
20+
1921
Parameters
2022
----------
2123

@@ -27,7 +29,7 @@ Parameters
2729

2830
.. include:: includes/generic-opts.txt
2931

30-
.. include:: includes/retryable-read.txt
32+
For a list of all options, see `the MongoDB Manual entry on the listDatabases command <https://www.mongodb.com/docs/manual/reference/command/listDatabases/>`_.
3133

3234
Errors
3335
------

src/libmongoc/doc/mongoc_collection_find_indexes_with_opts.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ Parameters
2727

2828
.. include:: includes/generic-opts.txt
2929

30+
For a list of all options, see `the MongoDB Manual entry on the listIndexes command <https://www.mongodb.com/docs/manual/reference/command/listIndexes/>`_.
31+
3032
Errors
3133
------
3234

src/libmongoc/doc/mongoc_database_find_collections_with_opts.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Parameters
2929

3030
.. include:: includes/generic-opts.txt
3131

32-
For a list of all options, see `the MongoDB Manual entry on the listCollections command <https://docs.mongodb.org/manual/reference/command/listCollections/>`_.
32+
For a list of all options, see `the MongoDB Manual entry on the listCollections command <https://www.mongodb.com/docs/manual/reference/command/listCollections/>`_.
3333

3434
Errors
3535
------

src/libmongoc/doc/mongoc_database_get_collection_names_with_opts.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Parameters
2929

3030
.. include:: includes/generic-opts.txt
3131

32-
For a list of all options, see `the MongoDB Manual entry on the listCollections command <https://docs.mongodb.org/manual/reference/command/listCollections/>`_.
32+
For a list of all options, see `the MongoDB Manual entry on the listCollections command <https://www.mongodb.com/docs/manual/reference/command/listCollections/>`_.
3333

3434
Errors
3535
------

0 commit comments

Comments
 (0)