Commit graph

335 commits

Author SHA1 Message Date
Jeremy Mikola
0fdb8109a1
Update Server::getInfo() example and note load balancer behavior
https://jira.mongodb.org/browse/PHPC-1979
2021-10-28 23:48:31 -04:00
Jeremy Mikola
a163213984
getServiceId method for command monitoring events
https://jira.mongodb.org/browse/PHPC-1976
2021-10-28 23:13:45 -04:00
Jeremy Mikola
1fb5896679
Document loadBalanced URI option and Server type constant
https://jira.mongodb.org/browse/PHPC-1752
https://jira.mongodb.org/browse/PHPC-1980
2021-10-28 22:23:54 -04:00
Jeremy Mikola
929fb17986
Manager::selectServer() ReadPreference param is now optional
https://jira.mongodb.org/browse/PHPC-1937
2021-10-28 21:59:45 -04:00
Jeremy Mikola
d587d7ea33
Document mongodb.mock_service_id INI option
https://jira.mongodb.org/browse/PHPC-1978
2021-10-28 21:22:42 -04:00
Jeremy Mikola
7c5379029e
Improve documentation for mongodb.debug INI option 2021-10-28 21:12:54 -04:00
Jeremy Mikola
f2c3fa1e01
Manager::startSession snapshot option and ReadConcern constant
https://jira.mongodb.org/browse/PHPC-1761
2021-10-28 19:25:11 -04:00
Jeremy Mikola
1aca69fa5d
Update return type for MongoDB\Driver\Server::getLatency()
https://jira.mongodb.org/browse/PHPC-1984
https://jira.mongodb.org/browse/PHPC-1985
2021-10-25 19:41:06 -04:00
Danack
b95e76e41d
Types are not hints in PHP. (#1003)
As they are checked at run-time, type checking is enforced in PHP and not 'hinted'.

Co-authored-by: Kamil Tekiela <tekiela246@gmail.com>
2021-10-09 14:43:01 +01:00
沈唁
59c987dca5
Fix the link error on the front page of the manual (#995) 2021-10-06 01:15:33 +09:00
Jeremy Mikola
d011dc8421
Clarify that empty arrays serialize as BSON arrays 2021-07-27 20:09:15 -04:00
Jeremy Mikola
a44dc91a4d
libmongocrypt accepts base64 strings or BSON binary
https://jira.mongodb.org/browse/PHPC-1901
2021-07-16 14:54:13 -04:00
Jeremy Mikola
1e2846b81c
Document support for AWS and GCP KMS providers
https://jira.mongodb.org/browse/PHPC-1684
2021-07-16 14:54:13 -04:00
Jeremy Mikola
672dfcbadc
Document disableClientPersistence driver option
https://jira.mongodb.org/browse/PHPC-1645
2021-07-16 14:54:13 -04:00
Jeremy Mikola
7daf344fd8
Revise MongoDB\Driver\Manager var_dump() example
The previous example was incorrect, as "cluster" is an array of server descriptions (not an associative array).

The "cluster" array in the example is empty because the Manager has not performed IO and initialized SDAM; however, doing so would produce very verbose output, which seems unnecessary.
2021-07-16 14:54:12 -04:00
Jeremy Mikola
40dbbc56e3
Document MongoDB\Driver\Manager::addSubscriber and removeSubscriber
https://jira.mongodb.org/browse/PHPC-1804
2021-07-16 14:54:12 -04:00
Andreas Braun
2de5fb458e
MongoDB: remove obsolete terminology 2021-05-26 09:08:57 +02:00
George Peter Banyard
1fc853737a
Remove legacy MongoDb driver docs 2021-05-25 19:38:28 +01:00
Kamil Tekiela
16a1bdfd1c
Remove double words (#540) 2021-04-20 12:54:54 +02:00
Jeremy Mikola
bee33290e8 Various fixes for MongoDB\Driver\ServerApi
Include ServerApi alongside other MongoDB\Driver classes.
Nest ServerApi examples <section> within <partinfo> block.
Fix character case in ServerApi method page IDs.
Fix typos in ServerApi version info and add missing methods.

See: php/doc-en@876a785f36
2021-04-16 21:59:50 -04:00
Jeremy Mikola
aa85e3522b Fix indentation in MongoDB\Driver\Manager example 2021-04-16 18:19:10 -04:00
Andreas Braun
876a785f36
MongoDB: Document versioned API functionality 2021-03-31 08:12:45 +02:00
Christoph Michael Becker
4754397753 Revert revision 351727 from phpdoc/en/trunk:
Document false and null return types

Cf. <https://news-web.php.net/php.doc.cvs/17645>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351729 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-28 17:58:32 +00:00
Jakub Vrana
69bd53265b Document false and null return types
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351727 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-28 15:12:46 +00:00
Andreas Braun
57a945c977 MongoDB: document iterator methods on MongoDB\Driver\Cursor
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351569 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-24 09:43:47 +00:00
Christoph Michael Becker
86e6094e86 Use canonical type names
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351133 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-02 15:39:04 +00:00
Christoph Michael Becker
53242ee662 Properly markup union types
Since r350738 added support for union types to our DocBook DTD, we
should use it.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351075 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-30 10:45:25 +00:00
Christoph Michael Becker
af5f2f87b3 Add PECL in front of version numbers in changelogs
Patch contributed by Benjamin Morel <benjamin.morel@gmail.com>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350988 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-25 15:11:56 +00:00
Christoph Michael Becker
892e1c8921 Fix #72027: Mongodb driver
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350928 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-17 16:11:57 +00:00
Jeremy Mikola
c9ff342d9a Update driver option docs and consolidate 1.8.0 changelog
https://jira.mongodb.org/browse/PHPC-1494


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350260 c90b9560-bf6c-de11-be94-00142212c4b1
2020-07-31 04:40:12 +00:00
Jeremy Mikola
7405f92e38 Document directConnection and OCSP URI options
https://jira.mongodb.org/browse/PHPC-1533
https://jira.mongodb.org/browse/PHPC-1554


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350259 c90b9560-bf6c-de11-be94-00142212c4b1
2020-07-31 04:25:33 +00:00
Jeremy Mikola
44e51bac0c Improve ReadPreference hedge option docs and add changelog entry
https://jira.mongodb.org/browse/PHPC-1571


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350258 c90b9560-bf6c-de11-be94-00142212c4b1
2020-07-31 03:55:17 +00:00
Jeremy Mikola
79b61596dd BulkWrite::delete() hint option
https://jira.mongodb.org/browse/PHPC-1561


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350257 c90b9560-bf6c-de11-be94-00142212c4b1
2020-07-31 03:36:32 +00:00
Jeremy Mikola
f87712410c Add changelog for update hint and note server requirement
https://jira.mongodb.org/browse/PHPC-1462


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350256 c90b9560-bf6c-de11-be94-00142212c4b1
2020-07-31 03:32:47 +00:00
Jeremy Mikola
8da06974bc Use aggregate command in executeReadWriteCommand docs
findAndModify does not take a readConcern so it is more suited to executeWriteCommand.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350222 c90b9560-bf6c-de11-be94-00142212c4b1
2020-07-27 21:43:41 +00:00
Jeremy Mikola
b168602e84 Fix type for MongoDB\Driver\RuntimeException errorLabels prop
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350161 c90b9560-bf6c-de11-be94-00142212c4b1
2020-07-16 13:46:54 +00:00
Jeremy Mikola
57f5cde3ce Update driver requirements for PHP version and libraries
https://jira.mongodb.org/browse/PHPC-1442


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350029 c90b9560-bf6c-de11-be94-00142212c4b1
2020-06-10 20:44:20 +00:00
Jeremy Mikola
f9e44aad38 Clarify handling of database name URI component
https://jira.mongodb.org/browse/PHPC-1384


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350007 c90b9560-bf6c-de11-be94-00142212c4b1
2020-06-03 19:27:03 +00:00
Andreas Braun
7c9848e8ee MongoDB: document new functionality for server hedged reads
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349992 c90b9560-bf6c-de11-be94-00142212c4b1
2020-05-29 10:57:51 +00:00
Jeremy Mikola
2ac2cc7f26 Clarify return type for Javascript::getScope
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349938 c90b9560-bf6c-de11-be94-00142212c4b1
2020-05-20 20:01:30 +00:00
Jeremy Mikola
bb2ddfffc1 Clarify return type for WriteConcernError and WriteError getInfo methods
https://jira.mongodb.org/browse/PHPC-1628


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349937 c90b9560-bf6c-de11-be94-00142212c4b1
2020-05-20 19:59:15 +00:00
Andreas Braun
d990a25ab5 MongoDB: rename chapter about manual installation
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349668 c90b9560-bf6c-de11-be94-00142212c4b1
2020-04-17 11:57:21 +00:00
Christoph Michael Becker
eb067eb6c1 Fix build
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349523 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-25 16:47:32 +00:00
Andreas Braun
687cb60db4 MongoDB: Document first changes for 1.8.0
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349522 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-25 12:51:51 +00:00
alcaeus
6dad23a963 MongoDB: Document changes for 1.7.0
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349110 c90b9560-bf6c-de11-be94-00142212c4b1
2020-02-03 15:29:05 +00:00
alcaeus
30ba308b60 MongoDB: Document new BSON subtype for encrypted values
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349108 c90b9560-bf6c-de11-be94-00142212c4b1
2020-02-03 13:46:57 +00:00
alcaeus
a8482dea2a MongoDB: Document new methods for 1.7
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349106 c90b9560-bf6c-de11-be94-00142212c4b1
2020-02-03 11:01:04 +00:00
Jeremy Mikola
b635919399 Revise MongoDB client-side encryption docs
https://jira.mongodb.org/browse/PHPC-1532


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349045 c90b9560-bf6c-de11-be94-00142212c4b1
2020-01-28 22:47:59 +00:00
Jeremy Mikola
8460353f32 BulkWrite::update() arrayFilters option is an array of documents
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349044 c90b9560-bf6c-de11-be94-00142212c4b1
2020-01-28 20:50:08 +00:00
alcaeus
594b45f55e MongoDB: Document new members for client-side encryption
https://jira.mongodb.org/browse/PHPC-1532

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349039 c90b9560-bf6c-de11-be94-00142212c4b1
2020-01-28 07:30:53 +00:00