Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mongo-php-library
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sinan
mongo-php-library
Commits
72884721
Commit
72884721
authored
Nov 15, 2016
by
Jeremy Mikola
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use section heading for "See Also" links
parent
c9884433
Hide whitespace changes
Inline
Side-by-side
Showing
56 changed files
with
307 additions
and
252 deletions
+307
-252
MongoDBClient-dropDatabase.txt
docs/reference/method/MongoDBClient-dropDatabase.txt
+5
-4
MongoDBClient-getManager.txt
docs/reference/method/MongoDBClient-getManager.txt
+4
-3
MongoDBClient-listDatabases.txt
docs/reference/method/MongoDBClient-listDatabases.txt
+4
-3
MongoDBClient-selectCollection.txt
docs/reference/method/MongoDBClient-selectCollection.txt
+4
-3
MongoDBClient-selectDatabase.txt
docs/reference/method/MongoDBClient-selectDatabase.txt
+4
-3
MongoDBClient__construct.txt
docs/reference/method/MongoDBClient__construct.txt
+4
-3
MongoDBClient__get.txt
docs/reference/method/MongoDBClient__get.txt
+5
-4
MongoDBCollection-aggregate.txt
docs/reference/method/MongoDBCollection-aggregate.txt
+6
-5
MongoDBCollection-bulkWrite.txt
docs/reference/method/MongoDBCollection-bulkWrite.txt
+11
-10
MongoDBCollection-count.txt
docs/reference/method/MongoDBCollection-count.txt
+4
-3
MongoDBCollection-createIndex.txt
docs/reference/method/MongoDBCollection-createIndex.txt
+7
-6
MongoDBCollection-createIndexes.txt
docs/reference/method/MongoDBCollection-createIndexes.txt
+8
-7
MongoDBCollection-deleteMany.txt
docs/reference/method/MongoDBCollection-deleteMany.txt
+8
-7
MongoDBCollection-deleteOne.txt
docs/reference/method/MongoDBCollection-deleteOne.txt
+8
-7
MongoDBCollection-distinct.txt
docs/reference/method/MongoDBCollection-distinct.txt
+4
-3
MongoDBCollection-drop.txt
docs/reference/method/MongoDBCollection-drop.txt
+5
-4
MongoDBCollection-dropIndex.txt
docs/reference/method/MongoDBCollection-dropIndex.txt
+8
-7
MongoDBCollection-dropIndexes.txt
docs/reference/method/MongoDBCollection-dropIndexes.txt
+8
-7
MongoDBCollection-find.txt
docs/reference/method/MongoDBCollection-find.txt
+5
-4
MongoDBCollection-findOne.txt
docs/reference/method/MongoDBCollection-findOne.txt
+5
-4
MongoDBCollection-findOneAndDelete.txt
docs/reference/method/MongoDBCollection-findOneAndDelete.txt
+6
-5
MongoDBCollection-findOneAndReplace.txt
.../reference/method/MongoDBCollection-findOneAndReplace.txt
+6
-5
MongoDBCollection-findOneAndUpdate.txt
docs/reference/method/MongoDBCollection-findOneAndUpdate.txt
+6
-5
MongoDBCollection-getCollectionName.txt
.../reference/method/MongoDBCollection-getCollectionName.txt
+4
-3
MongoDBCollection-getDatabaseName.txt
docs/reference/method/MongoDBCollection-getDatabaseName.txt
+4
-3
MongoDBCollection-getManager.txt
docs/reference/method/MongoDBCollection-getManager.txt
+4
-3
MongoDBCollection-getNamespace.txt
docs/reference/method/MongoDBCollection-getNamespace.txt
+4
-3
MongoDBCollection-insertMany.txt
docs/reference/method/MongoDBCollection-insertMany.txt
+8
-7
MongoDBCollection-insertOne.txt
docs/reference/method/MongoDBCollection-insertOne.txt
+8
-7
MongoDBCollection-listIndexes.txt
docs/reference/method/MongoDBCollection-listIndexes.txt
+10
-9
MongoDBCollection-replaceOne.txt
docs/reference/method/MongoDBCollection-replaceOne.txt
+9
-8
MongoDBCollection-updateMany.txt
docs/reference/method/MongoDBCollection-updateMany.txt
+9
-8
MongoDBCollection-updateOne.txt
docs/reference/method/MongoDBCollection-updateOne.txt
+9
-8
MongoDBCollection-withOptions.txt
docs/reference/method/MongoDBCollection-withOptions.txt
+3
-2
MongoDBCollection__construct.txt
docs/reference/method/MongoDBCollection__construct.txt
+6
-5
MongoDBDatabase-command.txt
docs/reference/method/MongoDBDatabase-command.txt
+8
-8
MongoDBDatabase-createCollection.txt
docs/reference/method/MongoDBDatabase-createCollection.txt
+5
-4
MongoDBDatabase-drop.txt
docs/reference/method/MongoDBDatabase-drop.txt
+5
-4
MongoDBDatabase-dropCollection.txt
docs/reference/method/MongoDBDatabase-dropCollection.txt
+5
-4
MongoDBDatabase-getManager.txt
docs/reference/method/MongoDBDatabase-getManager.txt
+4
-3
MongoDBDatabase-listCollections.txt
docs/reference/method/MongoDBDatabase-listCollections.txt
+8
-7
MongoDBDatabase-selectCollection.txt
docs/reference/method/MongoDBDatabase-selectCollection.txt
+5
-4
MongoDBDatabase-selectGridFSBucket.txt
docs/reference/method/MongoDBDatabase-selectGridFSBucket.txt
+3
-2
MongoDBDatabase-withOptions.txt
docs/reference/method/MongoDBDatabase-withOptions.txt
+3
-2
MongoDBDatabase__construct.txt
docs/reference/method/MongoDBDatabase__construct.txt
+5
-4
MongoDBDatabase__get.txt
docs/reference/method/MongoDBDatabase__get.txt
+5
-4
MongoDBGridFSBucket-downloadToStream.txt
...reference/method/MongoDBGridFSBucket-downloadToStream.txt
+5
-4
MongoDBGridFSBucket-downloadToStreamByName.txt
...nce/method/MongoDBGridFSBucket-downloadToStreamByName.txt
+5
-4
MongoDBGridFSBucket-find.txt
docs/reference/method/MongoDBGridFSBucket-find.txt
+3
-2
MongoDBGridFSBucket-getFileDocumentForStream.txt
...e/method/MongoDBGridFSBucket-getFileDocumentForStream.txt
+3
-2
MongoDBGridFSBucket-getFileIdForStream.txt
...ference/method/MongoDBGridFSBucket-getFileIdForStream.txt
+3
-2
MongoDBGridFSBucket-openDownloadStream.txt
...ference/method/MongoDBGridFSBucket-openDownloadStream.txt
+5
-4
MongoDBGridFSBucket-openDownloadStreamByName.txt
...e/method/MongoDBGridFSBucket-openDownloadStreamByName.txt
+5
-4
MongoDBGridFSBucket-openUploadStream.txt
...reference/method/MongoDBGridFSBucket-openUploadStream.txt
+3
-2
MongoDBGridFSBucket-uploadFromStream.txt
...reference/method/MongoDBGridFSBucket-uploadFromStream.txt
+3
-2
MongoDBGridFSBucket__construct.txt
docs/reference/method/MongoDBGridFSBucket__construct.txt
+3
-2
No files found.
docs/reference/method/MongoDBClient-dropDatabase.txt
View file @
72884721
...
@@ -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
docs/reference/method/MongoDBClient-getManager.txt
View file @
72884721
...
@@ -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()`
docs/reference/method/MongoDBClient-listDatabases.txt
View file @
72884721
...
@@ -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
docs/reference/method/MongoDBClient-selectCollection.txt
View file @
72884721
...
@@ -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()`
docs/reference/method/MongoDBClient-selectDatabase.txt
View file @
72884721
...
@@ -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()`
docs/reference/method/MongoDBClient__construct.txt
View file @
72884721
...
@@ -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>`
docs/reference/method/MongoDBClient__get.txt
View file @
72884721
...
@@ -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
docs/reference/method/MongoDBCollection-aggregate.txt
View file @
72884721
...
@@ -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
docs/reference/method/MongoDBCollection-bulkWrite.txt
View file @
72884721
...
@@ -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`
docs/reference/method/MongoDBCollection-count.txt
View file @
72884721
...
@@ -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
docs/reference/method/MongoDBCollection-createIndex.txt
View file @
72884721
...
@@ -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
docs/reference/method/MongoDBCollection-createIndexes.txt
View file @
72884721
...
@@ -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
docs/reference/method/MongoDBCollection-deleteMany.txt
View file @
72884721
...
@@ -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
docs/reference/method/MongoDBCollection-deleteOne.txt
View file @
72884721
...
@@ -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
docs/reference/method/MongoDBCollection-distinct.txt
View file @
72884721
...
@@ -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
docs/reference/method/MongoDBCollection-drop.txt
View file @
72884721
...
@@ -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
docs/reference/method/MongoDBCollection-dropIndex.txt
View file @
72884721
...
@@ -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
docs/reference/method/MongoDBCollection-dropIndexes.txt
View file @
72884721
...
@@ -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
docs/reference/method/MongoDBCollection-find.txt
View file @
72884721
...
@@ -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
docs/reference/method/MongoDBCollection-findOne.txt
View file @
72884721
...
@@ -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
docs/reference/method/MongoDBCollection-findOneAndDelete.txt
View file @
72884721
...
@@ -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
docs/reference/method/MongoDBCollection-findOneAndReplace.txt
View file @
72884721
...
@@ -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
docs/reference/method/MongoDBCollection-findOneAndUpdate.txt
View file @
72884721
...
@@ -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
docs/reference/method/MongoDBCollection-getCollectionName.txt
View file @
72884721
...
@@ -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()`
docs/reference/method/MongoDBCollection-getDatabaseName.txt
View file @
72884721
...
@@ -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()`
docs/reference/method/MongoDBCollection-getManager.txt
View file @
72884721
...
@@ -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()`
docs/reference/method/MongoDBCollection-getNamespace.txt
View file @
72884721
...
@@ -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()`
docs/reference/method/MongoDBCollection-insertMany.txt
View file @
72884721
...
@@ -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
docs/reference/method/MongoDBCollection-insertOne.txt
View file @
72884721
...
@@ -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
docs/reference/method/MongoDBCollection-listIndexes.txt
View file @
72884721
...
@@ -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
docs/reference/method/MongoDBCollection-replaceOne.txt
View file @
72884721
...
@@ -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
docs/reference/method/MongoDBCollection-updateMany.txt
View file @
72884721
...
@@ -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
docs/reference/method/MongoDBCollection-updateOne.txt
View file @
72884721
...
@@ -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
docs/reference/method/MongoDBCollection-withOptions.txt
View file @
72884721
...
@@ -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()`
docs/reference/method/MongoDBCollection__construct.txt
View file @
72884721
...
@@ -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()`
docs/reference/method/MongoDBDatabase-command.txt
View file @
72884721
...
@@ -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>`
docs/reference/method/MongoDBDatabase-createCollection.txt
View file @
72884721
...
@@ -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/>`
docs/reference/method/MongoDBDatabase-drop.txt
View file @
72884721
...
@@ -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
docs/reference/method/MongoDBDatabase-dropCollection.txt
View file @
72884721
...
@@ -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
docs/reference/method/MongoDBDatabase-getManager.txt
View file @
72884721
...
@@ -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()`
docs/reference/method/MongoDBDatabase-listCollections.txt
View file @
72884721
...
@@ -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
docs/reference/method/MongoDBDatabase-selectCollection.txt
View file @
72884721
...
@@ -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()`
docs/reference/method/MongoDBDatabase-selectGridFSBucket.txt
View file @
72884721
...
@@ -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()`
docs/reference/method/MongoDBDatabase-withOptions.txt
View file @
72884721
...
@@ -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()`
docs/reference/method/MongoDBDatabase__construct.txt
View file @
72884721
...
@@ -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()`
docs/reference/method/MongoDBDatabase__get.txt
View file @
72884721
...
@@ -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
docs/reference/method/MongoDBGridFSBucket-downloadToStream.txt
View file @
72884721
...
@@ -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()`
docs/reference/method/MongoDBGridFSBucket-downloadToStreamByName.txt
View file @
72884721
...
@@ -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()`
docs/reference/method/MongoDBGridFSBucket-find.txt
View file @
72884721
...
@@ -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()`
docs/reference/method/MongoDBGridFSBucket-getFileDocumentForStream.txt
View file @
72884721
...
@@ -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()`
docs/reference/method/MongoDBGridFSBucket-getFileIdForStream.txt
View file @
72884721
...
@@ -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()`
docs/reference/method/MongoDBGridFSBucket-openDownloadStream.txt
View file @
72884721
...
@@ -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()`
docs/reference/method/MongoDBGridFSBucket-openDownloadStreamByName.txt
View file @
72884721
...
@@ -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()`
docs/reference/method/MongoDBGridFSBucket-openUploadStream.txt
View file @
72884721
...
@@ -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()`
docs/reference/method/MongoDBGridFSBucket-uploadFromStream.txt
View file @
72884721
...
@@ -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()`
docs/reference/method/MongoDBGridFSBucket__construct.txt
View file @
72884721
...
@@ -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()`
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment