Commit 72884721 authored by Jeremy Mikola's avatar Jeremy Mikola

Use section heading for "See Also" links

parent c9884433
...@@ -62,8 +62,9 @@ The output would then resemble:: ...@@ -62,8 +62,9 @@ The output would then resemble::
} }
} }
.. seealso:: See Also
--------
- :phpmethod:`MongoDB\\Database::drop()` - :phpmethod:`MongoDB\\Database::drop()`
- :manual:`dropDatabase </reference/command/dropDatabase>` command reference - :manual:`dropDatabase </reference/command/dropDatabase>` command reference in
in the MongoDB manual the MongoDB manual
...@@ -27,7 +27,8 @@ Definition ...@@ -27,7 +27,8 @@ Definition
A :php:`MongoDB\\Driver\\Manager <class.mongodb-driver-manager>` object. A :php:`MongoDB\\Driver\\Manager <class.mongodb-driver-manager>` object.
.. seealso:: See Also
--------
- :phpmethod:`MongoDB\\Collection::getManager()` - :phpmethod:`MongoDB\\Collection::getManager()`
- :phpmethod:`MongoDB\\Database::getManager()` - :phpmethod:`MongoDB\\Database::getManager()`
...@@ -69,7 +69,8 @@ The output would then resemble:: ...@@ -69,7 +69,8 @@ The output would then resemble::
bool(false) bool(false)
} }
.. seealso:: See Also
--------
- :manual:`listDatabases </reference/command/listDatabases>` command - :manual:`listDatabases </reference/command/listDatabases>` command reference
reference in the MongoDB manual in the MongoDB manual
...@@ -70,7 +70,8 @@ with a custom read preference: ...@@ -70,7 +70,8 @@ with a custom read preference:
] ]
); );
.. seealso:: See Also
--------
- :phpmethod:`MongoDB\\Collection::__construct()` - :phpmethod:`MongoDB\\Collection::__construct()`
- :phpmethod:`MongoDB\\Database::selectCollection()` - :phpmethod:`MongoDB\\Database::selectCollection()`
...@@ -69,7 +69,8 @@ preference: ...@@ -69,7 +69,8 @@ preference:
] ]
); );
.. seealso:: See Also
--------
- :phpmethod:`MongoDB\\Client::__get()` - :phpmethod:`MongoDB\\Client::__get()`
- :phpmethod:`MongoDB\\Database::__construct()` - :phpmethod:`MongoDB\\Database::__construct()`
...@@ -69,7 +69,8 @@ array, as was done in the legacy :php:`mongo extension <mongo>`. ...@@ -69,7 +69,8 @@ array, as was done in the legacy :php:`mongo extension <mongo>`.
] ]
); );
.. seealso:: See Also
--------
- :php:`MongoDB\\Driver\\Manager::__construct() - :php:`MongoDB\\Driver\\Manager::__construct()
<mongodb-driver-manager.construct>` <mongodb-driver-manager.construct>`
...@@ -60,8 +60,9 @@ The following example selects the ``demo`` and ``another-app`` databases: ...@@ -60,8 +60,9 @@ The following example selects the ``demo`` and ``another-app`` databases:
$demo = $client->demo; $demo = $client->demo;
$anotherApp = $client->{'another-app'}; $anotherApp = $client->{'another-app'};
.. seealso:: See Also
--------
- :phpmethod:`MongoDB\\Client::selectDatabase()` - :phpmethod:`MongoDB\\Client::selectDatabase()`
- :phpmethod:`MongoDB\\Database::__construct()` - :phpmethod:`MongoDB\\Database::__construct()`
- :php:`Property Overloading <oop5.overloading>` in the PHP Manual - :php:`Property Overloading <oop5.overloading>` in the PHP Manual
...@@ -59,9 +59,10 @@ value will be :php:`Traversable <traversable>`. ...@@ -59,9 +59,10 @@ value will be :php:`Traversable <traversable>`.
.. todo: add examples .. todo: add examples
.. seealso:: See Also
--------
- :manual:`aggregate </reference/command/aggregate>` command reference in the - :manual:`aggregate </reference/command/aggregate>` command reference in the
MongoDB manual MongoDB manual
- :manual:`Aggregation Pipeline </core/aggregation-pipeline>` - :manual:`Aggregation Pipeline </core/aggregation-pipeline>` documentation in
documentation in the MongoDB Manual the MongoDB Manual
...@@ -37,13 +37,14 @@ Definition ...@@ -37,13 +37,14 @@ Definition
.. todo: add output and examples .. todo: add output and examples
.. seealso:: See Also
--------
- :phpmethod:`MongoDB\\Collection::deleteMany()`
- :phpmethod:`MongoDB\\Collection::deleteOne()` - :phpmethod:`MongoDB\\Collection::deleteMany()`
- :phpmethod:`MongoDB\\Collection::insertMany()` - :phpmethod:`MongoDB\\Collection::deleteOne()`
- :phpmethod:`MongoDB\\Collection::insertOne()` - :phpmethod:`MongoDB\\Collection::insertMany()`
- :phpmethod:`MongoDB\\Collection::replaceOne()` - :phpmethod:`MongoDB\\Collection::insertOne()`
- :phpmethod:`MongoDB\\Collection::updateMany()` - :phpmethod:`MongoDB\\Collection::replaceOne()`
- :phpmethod:`MongoDB\\Collection::updateOne()` - :phpmethod:`MongoDB\\Collection::updateMany()`
- :doc:`/tutorial/crud` - :phpmethod:`MongoDB\\Collection::updateOne()`
- :doc:`/tutorial/crud`
...@@ -35,7 +35,8 @@ Definition ...@@ -35,7 +35,8 @@ Definition
.. todo: add output and examples .. todo: add output and examples
.. seealso:: See Also
--------
- :manual:`count </reference/command/count>` command reference in the MongoDB - :manual:`count </reference/command/count>` command reference in the MongoDB
manual manual
...@@ -91,10 +91,11 @@ The output would then resemble:: ...@@ -91,10 +91,11 @@ The output would then resemble::
string(9) "borough_1" string(9) "borough_1"
.. seealso:: See Also
--------
- :phpmethod:`MongoDB\\Collection::createIndexes()` - :phpmethod:`MongoDB\\Collection::createIndexes()`
- :doc:`/tutorial/indexes` - :doc:`/tutorial/indexes`
- :manual:`createIndexes </reference/command/createIndexes>` command - :manual:`createIndexes </reference/command/createIndexes>` command reference
reference in the MongoDB manual in the MongoDB manual
- :manual:`Index </indexes>` documentation in the MongoDB Manual - :manual:`Index </indexes>` documentation in the MongoDB Manual
...@@ -82,10 +82,11 @@ The output would then resemble:: ...@@ -82,10 +82,11 @@ The output would then resemble::
string(9) "geo_index" string(9) "geo_index"
} }
.. seealso:: See Also
--------
- :phpmethod:`MongoDB\\Collection::createIndex()`
- :doc:`/tutorial/indexes` - :phpmethod:`MongoDB\\Collection::createIndex()`
- :manual:`createIndexes </reference/command/createIndexes>` command - :doc:`/tutorial/indexes`
reference in the MongoDB manual - :manual:`createIndexes </reference/command/createIndexes>` command reference
- :manual:`Index </indexes>` documentation in the MongoDB Manual in the MongoDB manual
- :manual:`Index </indexes>` documentation in the MongoDB Manual
...@@ -58,10 +58,11 @@ The output would then resemble:: ...@@ -58,10 +58,11 @@ The output would then resemble::
Deleted 2 document(s) Deleted 2 document(s)
.. seealso:: See Also
--------
- :phpmethod:`MongoDB\\Collection::deleteOne()`
- :phpmethod:`MongoDB\\Collection::bulkWrite()` - :phpmethod:`MongoDB\\Collection::deleteOne()`
- :doc:`/tutorial/crud` - :phpmethod:`MongoDB\\Collection::bulkWrite()`
- :manual:`delete </reference/command/delete` command reference in the - :doc:`/tutorial/crud`
MongoDB manual - :manual:`delete </reference/command/delete` command reference in the MongoDB
manual
...@@ -60,10 +60,11 @@ The output would then resemble:: ...@@ -60,10 +60,11 @@ The output would then resemble::
Deleted 1 document(s) Deleted 1 document(s)
.. seealso:: See Also
--------
- :phpmethod:`MongoDB\\Collection::deleteMany()`
- :phpmethod:`MongoDB\\Collection::bulkWrite()` - :phpmethod:`MongoDB\\Collection::deleteMany()`
- :doc:`/tutorial/crud` - :phpmethod:`MongoDB\\Collection::bulkWrite()`
- :manual:`delete command reference </reference/command/delete` - :doc:`/tutorial/crud`
in the MongoDB manual - :manual:`delete </reference/command/delete` command reference in the MongoDB
manual
...@@ -241,7 +241,8 @@ The output would then resemble:: ...@@ -241,7 +241,8 @@ The output would then resemble::
string(29) "Vietnamese/Cambodian/Malaysia" string(29) "Vietnamese/Cambodian/Malaysia"
} }
.. seealso:: See Also
--------
- :manual:`distinct </reference/command/distinct>` command reference in the - :manual:`distinct </reference/command/distinct>` command reference in the
MongoDB manual MongoDB manual
...@@ -65,8 +65,9 @@ The output would then resemble:: ...@@ -65,8 +65,9 @@ The output would then resemble::
} }
} }
.. seealso:: See Also
--------
- :phpmethod:`MongoDB\\Database::dropCollection()` - :phpmethod:`MongoDB\\Database::dropCollection()`
- :manual:`drop </reference/command/drop>` command reference in the MongoDB - :manual:`drop </reference/command/drop>` command reference in the MongoDB
manual manual
...@@ -63,10 +63,11 @@ The output would then resemble:: ...@@ -63,10 +63,11 @@ The output would then resemble::
} }
} }
.. seealso:: See Also
--------
- :phpmethod:`MongoDB\\Collection::dropIndexes()`
- :doc:`/tutorial/indexes` - :phpmethod:`MongoDB\\Collection::dropIndexes()`
- :manual:`dropIndexes </reference/command/dropIndexes>` command reference - :doc:`/tutorial/indexes`
in the MongoDB manual - :manual:`dropIndexes </reference/command/dropIndexes>` command reference in
- :manual:`Index documentation </indexes>` in the MongoDB manual the MongoDB manual
- :manual:`Index documentation </indexes>` in the MongoDB manual
...@@ -66,10 +66,11 @@ The output would then resemble:: ...@@ -66,10 +66,11 @@ The output would then resemble::
} }
} }
.. seealso:: See Also
--------
- :phpmethod:`MongoDB\\Collection::dropIndex()`
- :doc:`/tutorial/indexes` - :phpmethod:`MongoDB\\Collection::dropIndex()`
- :manual:`dropIndexes </reference/command/dropIndexes>` command reference - :doc:`/tutorial/indexes`
in the MongoDB manual - :manual:`dropIndexes </reference/command/dropIndexes>` command reference in
- :manual:`Index documentation </indexes>` in the MongoDB manual the MongoDB manual
- :manual:`Index documentation </indexes>` in the MongoDB manual
...@@ -147,8 +147,9 @@ The output would then resemble:: ...@@ -147,8 +147,9 @@ The output would then resemble::
} }
} }
.. seealso:: See Also
--------
- :phpmethod:`MongoDB\\Collection::findOne()` - :phpmethod:`MongoDB\\Collection::findOne()`
- :manual:`find </reference/command/find>` command reference in the MongoDB - :manual:`find </reference/command/find>` command reference in the MongoDB
manual manual
...@@ -82,8 +82,9 @@ The output would then resemble:: ...@@ -82,8 +82,9 @@ The output would then resemble::
} }
} }
.. seealso:: See Also
--------
- :phpmethod:`MongoDB\\Collection::find()` - :phpmethod:`MongoDB\\Collection::find()`
- :manual:`find </reference/command/find>` command reference in the MongoDB - :manual:`find </reference/command/find>` command reference in the MongoDB
manual manual
...@@ -77,9 +77,10 @@ The output would then resemble:: ...@@ -77,9 +77,10 @@ The output would then resemble::
string(8) "40375376" string(8) "40375376"
} }
.. seealso:: See Also
--------
- :phpmethod:`MongoDB\\Collection::findOneAndReplace()` - :phpmethod:`MongoDB\\Collection::findOneAndReplace()`
- :phpmethod:`MongoDB\\Collection::findOneAndUpdate()` - :phpmethod:`MongoDB\\Collection::findOneAndUpdate()`
- :manual:`findAndModify </reference/command/findAndModify>` command - :manual:`findAndModify </reference/command/findAndModify>` command reference
reference in the MongoDB manual in the MongoDB manual
...@@ -124,9 +124,10 @@ The output would then resemble:: ...@@ -124,9 +124,10 @@ The output would then resemble::
string(9) "999999999" string(9) "999999999"
} }
.. seealso:: See Also
--------
- :phpmethod:`MongoDB\\Collection::findOneAndDelete()` - :phpmethod:`MongoDB\\Collection::findOneAndDelete()`
- :phpmethod:`MongoDB\\Collection::findOneAndUpdate()` - :phpmethod:`MongoDB\\Collection::findOneAndUpdate()`
- :manual:`findAndModify </reference/command/findAndModify>` command - :manual:`findAndModify </reference/command/findAndModify>` command reference
reference in the MongoDB manual in the MongoDB manual
...@@ -88,9 +88,10 @@ The output would then resemble:: ...@@ -88,9 +88,10 @@ The output would then resemble::
} }
} }
.. seealso:: See Also
--------
- :phpmethod:`MongoDB\\Collection::findOneAndDelete()` - :phpmethod:`MongoDB\\Collection::findOneAndDelete()`
- :phpmethod:`MongoDB\\Collection::findOneAndReplace()` - :phpmethod:`MongoDB\\Collection::findOneAndReplace()`
- :manual:`findAndModify </reference/command/findAndModify>` command - :manual:`findAndModify </reference/command/findAndModify>` command reference
reference in the MongoDB manual in the MongoDB manual
...@@ -43,7 +43,8 @@ The output would then resemble:: ...@@ -43,7 +43,8 @@ The output would then resemble::
zips zips
.. seealso:: See Also
--------
- :phpmethod:`MongoDB\\Collection::getDatabaseName()` - :phpmethod:`MongoDB\\Collection::getDatabaseName()`
- :phpmethod:`MongoDB\\Collection::getNamespace()` - :phpmethod:`MongoDB\\Collection::getNamespace()`
...@@ -43,8 +43,9 @@ The output would then resemble:: ...@@ -43,8 +43,9 @@ The output would then resemble::
demo demo
.. seealso:: See Also
--------
- :phpmethod:`MongoDB\\Collection::getCollectionName()` - :phpmethod:`MongoDB\\Collection::getCollectionName()`
- :phpmethod:`MongoDB\\Collection::getNamespace()` - :phpmethod:`MongoDB\\Collection::getNamespace()`
...@@ -27,7 +27,8 @@ Definition ...@@ -27,7 +27,8 @@ Definition
A :php:`MongoDB\\Driver\\Manager <class.mongodb-driver-manager>` object. A :php:`MongoDB\\Driver\\Manager <class.mongodb-driver-manager>` object.
.. seealso:: See Also
--------
- :phpmethod:`MongoDB\\Client::getManager()` - :phpmethod:`MongoDB\\Client::getManager()`
- :phpmethod:`MongoDB\\Database::getManager()` - :phpmethod:`MongoDB\\Database::getManager()`
...@@ -44,7 +44,8 @@ The output would then resemble:: ...@@ -44,7 +44,8 @@ The output would then resemble::
demo.zips demo.zips
.. seealso:: See Also
--------
- :phpmethod:`MongoDB\\Collection::getCollectionName()` - :phpmethod:`MongoDB\\Collection::getCollectionName()`
- :phpmethod:`MongoDB\\Collection::getDatabaseName()` - :phpmethod:`MongoDB\\Collection::getDatabaseName()`
...@@ -84,10 +84,11 @@ The output would then resemble:: ...@@ -84,10 +84,11 @@ The output would then resemble::
.. end-crud-include .. end-crud-include
.. seealso:: See Also
--------
- :phpmethod:`MongoDB\\Collection::insertOne()`
- :phpmethod:`MongoDB\\Collection::bulkWrite()` - :phpmethod:`MongoDB\\Collection::insertOne()`
- :doc:`/tutorial/crud` - :phpmethod:`MongoDB\\Collection::bulkWrite()`
- :manual:`insert </reference/command/insert>` command reference in the - :doc:`/tutorial/crud`
MongoDB manual - :manual:`insert </reference/command/insert>` command reference in the MongoDB
manual
...@@ -69,10 +69,11 @@ The output would then resemble:: ...@@ -69,10 +69,11 @@ The output would then resemble::
.. end-crud-include .. end-crud-include
.. seealso:: See Also
--------
- :phpmethod:`MongoDB\\Collection::insertMany()`
- :phpmethod:`MongoDB\\Collection::bulkWrite()` - :phpmethod:`MongoDB\\Collection::insertMany()`
- :doc:`/tutorial/crud` - :phpmethod:`MongoDB\\Collection::bulkWrite()`
- :manual:`insert </reference/command/insert>` command reference in the - :doc:`/tutorial/crud`
MongoDB manual - :manual:`insert </reference/command/insert>` command reference in the MongoDB
manual
...@@ -93,12 +93,13 @@ The output would then resemble:: ...@@ -93,12 +93,13 @@ The output would then resemble::
string(19) "example.restaurants" string(19) "example.restaurants"
} }
.. seealso:: See Also
--------
- :doc:`/tutorial/indexes`
- :manual:`listIndexes </reference/command/listIndexes>` command reference in - :doc:`/tutorial/indexes`
the MongoDB manual - :manual:`listIndexes </reference/command/listIndexes>` command reference in
- :manual:`Index documentation </core/indexes>` in the MongoDB manual the MongoDB manual
- `Enumerating Collections - :manual:`Index documentation </core/indexes>` in the MongoDB manual
<https://github.com/mongodb/specifications/blob/master/source/enumerate-indexes.rst>`_ - `Enumerating Collections
specification <https://github.com/mongodb/specifications/blob/master/source/enumerate-indexes.rst>`_
specification
...@@ -68,11 +68,12 @@ The output would then resemble:: ...@@ -68,11 +68,12 @@ The output would then resemble::
Matched 1 document(s) Matched 1 document(s)
Modified 1 document(s) Modified 1 document(s)
.. seealso:: See Also
--------
- :phpmethod:`MongoDB\\Collection::updateMany()`
- :phpmethod:`MongoDB\\Collection::updateOne()` - :phpmethod:`MongoDB\\Collection::updateMany()`
- :phpmethod:`MongoDB\\Collection::bulkWrite()` - :phpmethod:`MongoDB\\Collection::updateOne()`
- :doc:`/tutorial/crud` - :phpmethod:`MongoDB\\Collection::bulkWrite()`
- :manual:`update </reference/command/update>` command reference in the - :doc:`/tutorial/crud`
MongoDB manual - :manual:`update </reference/command/update>` command reference in the MongoDB
manual
...@@ -58,11 +58,12 @@ The output would then resemble:: ...@@ -58,11 +58,12 @@ The output would then resemble::
Matched 5656 document(s) Matched 5656 document(s)
Modified 5656 document(s) Modified 5656 document(s)
.. seealso:: See Also
--------
- :phpmethod:`MongoDB\\Collection::replaceOne()`
- :phpmethod:`MongoDB\\Collection::updateOne()` - :phpmethod:`MongoDB\\Collection::replaceOne()`
- :phpmethod:`MongoDB\\Collection::bulkWrite()` - :phpmethod:`MongoDB\\Collection::updateOne()`
- :doc:`/tutorial/crud` - :phpmethod:`MongoDB\\Collection::bulkWrite()`
- :manual:`update </reference/command/update>` command reference in the - :doc:`/tutorial/crud`
MongoDB manual - :manual:`update </reference/command/update>` command reference in the MongoDB
manual
...@@ -60,11 +60,12 @@ The output would then resemble:: ...@@ -60,11 +60,12 @@ The output would then resemble::
Matched 1 document(s) Matched 1 document(s)
Modified 1 document(s) Modified 1 document(s)
.. seealso:: See Also
--------
- :phpmethod:`MongoDB\\Collection::replaceOne()`
- :phpmethod:`MongoDB\\Collection::updateMany()` - :phpmethod:`MongoDB\\Collection::replaceOne()`
- :phpmethod:`MongoDB\\Collection::bulkWrite()` - :phpmethod:`MongoDB\\Collection::updateMany()`
- :doc:`/tutorial/crud` - :phpmethod:`MongoDB\\Collection::bulkWrite()`
- :manual:`update </reference/command/update>` command reference in the - :doc:`/tutorial/crud`
MongoDB manual - :manual:`update </reference/command/update>` command reference in the MongoDB
manual
...@@ -49,6 +49,7 @@ preference: ...@@ -49,6 +49,7 @@ preference:
'readPreference' => new MongoDB\Driver\ReadPreference(MongoDB\Driver\ReadPreference::RP_SECONDARY), 'readPreference' => new MongoDB\Driver\ReadPreference(MongoDB\Driver\ReadPreference::RP_SECONDARY),
]); ]);
.. seealso:: See Also
--------
- :phpmethod:`MongoDB\\Collection::__construct()` - :phpmethod:`MongoDB\\Collection::__construct()`
...@@ -40,9 +40,10 @@ options from that object. ...@@ -40,9 +40,10 @@ options from that object.
.. todo: add an example .. todo: add an example
.. seealso:: See Also
--------
- :phpmethod:`MongoDB\\Collection::withOptions()` - :phpmethod:`MongoDB\\Collection::withOptions()`
- :phpmethod:`MongoDB\\Client::selectCollection()` - :phpmethod:`MongoDB\\Client::selectCollection()`
- :phpmethod:`MongoDB\\Database::selectCollection()` - :phpmethod:`MongoDB\\Database::selectCollection()`
- :phpmethod:`MongoDB\\Database::__get()` - :phpmethod:`MongoDB\\Database::__get()`
...@@ -138,11 +138,11 @@ The output would resemble:: ...@@ -138,11 +138,11 @@ The output would resemble::
} }
} }
.. seealso:: See Also
--------
- :doc:`/tutorial/commands`
- :manual:`Database Commands </reference/command>` in the - :doc:`/tutorial/commands`
MongoDB manual - :manual:`Database Commands </reference/command>` in the MongoDB manual
- :php:`MongoDB\\Driver\\Cursor <class.mongodb-driver-cursor>` - :php:`MongoDB\\Driver\\Cursor <class.mongodb-driver-cursor>`
- :php:`MongoDB\\Driver\\Manager::executeCommand() - :php:`MongoDB\\Driver\\Manager::executeCommand()
<manual/en/mongodb-driver-manager.executecommand.php>` <manual/en/mongodb-driver-manager.executecommand.php>`
...@@ -83,8 +83,9 @@ The output would then resemble:: ...@@ -83,8 +83,9 @@ The output would then resemble::
} }
} }
.. seealso:: See Also
--------
- :manual:`create </reference/command/create>` command reference in the MongoDB - :manual:`create </reference/command/create>` command reference in the MongoDB
manual manual
- :manual:`db.createCollection() </reference/method/db.createCollection/>` - :manual:`db.createCollection() </reference/method/db.createCollection/>`
...@@ -62,8 +62,9 @@ The output would then resemble:: ...@@ -62,8 +62,9 @@ The output would then resemble::
} }
} }
.. seealso:: See Also
--------
- :phpmethod:`MongoDB\\Client::dropDatabase()` - :phpmethod:`MongoDB\\Client::dropDatabase()`
- :manual:`dropDatabase </reference/command/dropDatabase>` command reference - :manual:`dropDatabase </reference/command/dropDatabase>` command reference in
in the MongoDB manual the MongoDB manual
...@@ -64,8 +64,9 @@ The output would then resemble:: ...@@ -64,8 +64,9 @@ The output would then resemble::
} }
} }
.. seealso:: See Also
--------
- :phpmethod:`MongoDB\\Collection::drop()` - :phpmethod:`MongoDB\\Collection::drop()`
- :manual:`drop </reference/command/drop>` command reference in the MongoDB - :manual:`drop </reference/command/drop>` command reference in the MongoDB
manual manual
...@@ -27,7 +27,8 @@ Definition ...@@ -27,7 +27,8 @@ Definition
A :php:`MongoDB\\Driver\\Manager <class.mongodb-driver-manager>` object. A :php:`MongoDB\\Driver\\Manager <class.mongodb-driver-manager>` object.
.. seealso:: See Also
--------
- :phpmethod:`MongoDB\\Client::getManager()` - :phpmethod:`MongoDB\\Client::getManager()`
- :phpmethod:`MongoDB\\Collection::getManager()` - :phpmethod:`MongoDB\\Collection::getManager()`
...@@ -110,10 +110,11 @@ The output would then resemble:: ...@@ -110,10 +110,11 @@ The output would then resemble::
} }
} }
.. seealso:: See Also
--------
- :manual:`listCollections </reference/command/listCollections` command
reference in the MongoDB manual - :manual:`listCollections </reference/command/listCollections` command
- `Enumerating Collections reference in the MongoDB manual
<https://github.com/mongodb/specifications/blob/master/source/enumerate-collections.rst>`_ - `Enumerating Collections
specification <https://github.com/mongodb/specifications/blob/master/source/enumerate-collections.rst>`_
specification
...@@ -69,8 +69,9 @@ database with a custom read preference: ...@@ -69,8 +69,9 @@ database with a custom read preference:
] ]
); );
.. seealso:: See Also
--------
- :phpmethod:`MongoDB\\Database::__get()` - :phpmethod:`MongoDB\\Database::__get()`
- :phpmethod:`MongoDB\\Client::selectCollection()` - :phpmethod:`MongoDB\\Client::selectCollection()`
- :phpmethod:`MongoDB\\Collection::__construct()` - :phpmethod:`MongoDB\\Collection::__construct()`
...@@ -68,6 +68,7 @@ database with a custom read preference: ...@@ -68,6 +68,7 @@ database with a custom read preference:
'readPreference' => new MongoDB\Driver\ReadPreference(MongoDB\Driver\ReadPreference::RP_SECONDARY), 'readPreference' => new MongoDB\Driver\ReadPreference(MongoDB\Driver\ReadPreference::RP_SECONDARY),
]); ]);
.. seealso:: See Also
--------
- :phpmethod:`MongoDB\\GridFS\\Bucket::__construct()` - :phpmethod:`MongoDB\\GridFS\\Bucket::__construct()`
...@@ -49,6 +49,7 @@ preference: ...@@ -49,6 +49,7 @@ preference:
'readPreference' => new MongoDB\Driver\ReadPreference(MongoDB\Driver\ReadPreference::RP_SECONDARY), 'readPreference' => new MongoDB\Driver\ReadPreference(MongoDB\Driver\ReadPreference::RP_SECONDARY),
]); ]);
.. seealso:: See Also
--------
- :phpmethod:`MongoDB\\Database::__construct()` - :phpmethod:`MongoDB\\Database::__construct()`
...@@ -37,8 +37,9 @@ the :php:`MongoDB\\Driver\\Manager <class.mongodb-driver-manager>` object. If ...@@ -37,8 +37,9 @@ the :php:`MongoDB\\Driver\\Manager <class.mongodb-driver-manager>` object. If
you select the Database from a :phpclass:`Client <MongoDB\\Client>` object, the you select the Database from a :phpclass:`Client <MongoDB\\Client>` object, the
Database inherits its options from that object. Database inherits its options from that object.
.. seealso:: See Also
--------
- :phpmethod:`MongoDB\\Database::withOptions()` - :phpmethod:`MongoDB\\Database::withOptions()`
- :phpmethod:`MongoDB\\Client::selectDatabase()` - :phpmethod:`MongoDB\\Client::selectDatabase()`
- :phpmethod:`MongoDB\\Client::__get()` - :phpmethod:`MongoDB\\Client::__get()`
...@@ -60,8 +60,9 @@ collections from the ``demo`` database: ...@@ -60,8 +60,9 @@ collections from the ``demo`` database:
$users = $db->users; $users = $db->users;
$systemProfile = $db->{'system.profile'}; $systemProfile = $db->{'system.profile'};
.. seealso:: See Also
--------
- :phpmethod:`MongoDB\\Database::selectCollection()` - :phpmethod:`MongoDB\\Database::selectCollection()`
- :phpmethod:`MongoDB\\Client::selectCollection()` - :phpmethod:`MongoDB\\Client::selectCollection()`
- :php:`Property Overloading <oop5.overloading>` in the PHP Manual - :php:`Property Overloading <oop5.overloading>` in the PHP Manual
...@@ -28,8 +28,9 @@ Definition ...@@ -28,8 +28,9 @@ Definition
.. todo: add examples .. todo: add examples
.. seealso:: See Also
--------
- :phpmethod:`MongoDB\\GridFS\\Bucket::downloadToStreamByName()` - :phpmethod:`MongoDB\\GridFS\\Bucket::downloadToStreamByName()`
- :phpmethod:`MongoDB\\GridFS\\Bucket::openDownloadStream()` - :phpmethod:`MongoDB\\GridFS\\Bucket::openDownloadStream()`
- :phpmethod:`MongoDB\\GridFS\\Bucket::openDownloadStreamByName()` - :phpmethod:`MongoDB\\GridFS\\Bucket::openDownloadStreamByName()`
...@@ -32,8 +32,9 @@ Definition ...@@ -32,8 +32,9 @@ Definition
.. todo: add examples .. todo: add examples
.. seealso:: See Also
--------
- :phpmethod:`MongoDB\\GridFS\\Bucket::downloadToStream()` - :phpmethod:`MongoDB\\GridFS\\Bucket::downloadToStream()`
- :phpmethod:`MongoDB\\GridFS\\Bucket::openDownloadStream()` - :phpmethod:`MongoDB\\GridFS\\Bucket::openDownloadStream()`
- :phpmethod:`MongoDB\\GridFS\\Bucket::openDownloadStreamByName()` - :phpmethod:`MongoDB\\GridFS\\Bucket::openDownloadStreamByName()`
...@@ -35,6 +35,7 @@ Definition ...@@ -35,6 +35,7 @@ Definition
.. todo: add examples .. todo: add examples
.. seealso:: See Also
--------
- :phpmethod:`MongoDB\\Collection::find()` - :phpmethod:`MongoDB\\Collection::find()`
...@@ -31,6 +31,7 @@ Definition ...@@ -31,6 +31,7 @@ Definition
.. todo: add examples .. todo: add examples
.. seealso:: See Also
--------
- :phpmethod:`MongoDB\\GridFS\\Bucket::getFileIdForStream()` - :phpmethod:`MongoDB\\GridFS\\Bucket::getFileIdForStream()`
...@@ -32,6 +32,7 @@ Definition ...@@ -32,6 +32,7 @@ Definition
.. todo: add examples .. todo: add examples
.. seealso:: See Also
--------
- :phpmethod:`MongoDB\\GridFS\\Bucket::getFileDocumentForStream()` - :phpmethod:`MongoDB\\GridFS\\Bucket::getFileDocumentForStream()`
...@@ -31,8 +31,9 @@ Definition ...@@ -31,8 +31,9 @@ Definition
.. todo: add examples .. todo: add examples
.. seealso:: See Also
--------
- :phpmethod:`MongoDB\\GridFS\\Bucket::downloadToStream()` - :phpmethod:`MongoDB\\GridFS\\Bucket::downloadToStream()`
- :phpmethod:`MongoDB\\GridFS\\Bucket::downloadToStreamByName()` - :phpmethod:`MongoDB\\GridFS\\Bucket::downloadToStreamByName()`
- :phpmethod:`MongoDB\\GridFS\\Bucket::openDownloadStreamByName()` - :phpmethod:`MongoDB\\GridFS\\Bucket::openDownloadStreamByName()`
...@@ -35,8 +35,9 @@ Definition ...@@ -35,8 +35,9 @@ Definition
.. todo: add examples .. todo: add examples
.. seealso:: See Also
--------
- :phpmethod:`MongoDB\\GridFS\\Bucket::downloadToStream()` - :phpmethod:`MongoDB\\GridFS\\Bucket::downloadToStream()`
- :phpmethod:`MongoDB\\GridFS\\Bucket::downloadToStreamByName()` - :phpmethod:`MongoDB\\GridFS\\Bucket::downloadToStreamByName()`
- :phpmethod:`MongoDB\\GridFS\\Bucket::openDownloadStream()` - :phpmethod:`MongoDB\\GridFS\\Bucket::openDownloadStream()`
...@@ -41,6 +41,7 @@ metadata document will be created when the writable stream is closed. ...@@ -41,6 +41,7 @@ metadata document will be created when the writable stream is closed.
.. todo: add examples .. todo: add examples
.. seealso:: See Also
--------
- :phpmethod:`MongoDB\\GridFS\\Bucket::uploadFromStream()` - :phpmethod:`MongoDB\\GridFS\\Bucket::uploadFromStream()`
...@@ -38,6 +38,7 @@ Definition ...@@ -38,6 +38,7 @@ Definition
.. todo: add examples .. todo: add examples
.. seealso:: See Also
--------
- :phpmethod:`MongoDB\\GridFS\\Bucket::openUploadStream()` - :phpmethod:`MongoDB\\GridFS\\Bucket::openUploadStream()`
...@@ -39,6 +39,7 @@ the Bucket inherits its options from that object. ...@@ -39,6 +39,7 @@ the Bucket inherits its options from that object.
.. todo: add an example .. todo: add an example
.. seealso:: See Also
--------
- :phpmethod:`MongoDB\\Database::selectGridFSBucket()` - :phpmethod:`MongoDB\\Database::selectGridFSBucket()`
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment