Commit graph

354 commits

Author SHA1 Message Date
Christoph Michael Becker
2ebdd7a82e Fix typo
Patch provided by Leonidas Vrachnis.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345459 c90b9560-bf6c-de11-be94-00142212c4b1
2018-08-13 10:23:25 +00:00
Derick Rethans
f91ed9bc6f PHPC-1227: Document that transactions do not allow per-op read/write concerns
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345411 c90b9560-bf6c-de11-be94-00142212c4b1
2018-07-30 10:37:38 +00:00
Jeremy Mikola
0df9823f6a Include all inherited props/methods for exception classes
This comments out nonexistent includes to avoid XML warnings introduced in r345343. Ideally, we would use <xi:fallback>, but that does not avoid warnings (see: https://bugs.php.net/bug.php?id=51897).

Related to: https://jira.mongodb.org/browse/PHPC-1222


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345347 c90b9560-bf6c-de11-be94-00142212c4b1
2018-07-18 20:01:30 +00:00
Jeremy Mikola
138684b77a Class tree for MongoDB exceptions
https://jira.mongodb.org/browse/PHPC-1246


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345346 c90b9560-bf6c-de11-be94-00142212c4b1
2018-07-18 19:56:53 +00:00
Derick Rethans
d58a813a1f Fixed XPath magic
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345345 c90b9560-bf6c-de11-be94-00142212c4b1
2018-07-18 14:55:17 +00:00
Derick Rethans
1dfa50495f Document new hasErrorLabels() method and errorLabels property, and sort out inheritence of exception classes
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345343 c90b9560-bf6c-de11-be94-00142212c4b1
2018-07-18 10:06:24 +00:00
Christoph Michael Becker
89fd9d4157 Partially fix link
Actually, we want to link to the “projection” row, but for some reason
that does not work[1].  Therefore we link to the “queryOptions” table.

[1] <http://news.php.net/php.doc.cvs/16129>

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345292 c90b9560-bf6c-de11-be94-00142212c4b1
2018-07-09 16:37:49 +00:00
Derick Rethans
1d35ee8c32 Fixed link.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345262 c90b9560-bf6c-de11-be94-00142212c4b1
2018-07-02 10:13:14 +00:00
Christoph Michael Becker
827ab3cfe0 Fix build
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345232 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-28 12:09:35 +00:00
Derick Rethans
e92fd0468a PHPC-1217: Remind users to include __pclass field in projections
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345228 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-28 10:24:59 +00:00
Jeremy Mikola
52886fcaa7 Improve field path type map example
The previous example was missing the "fieldPaths" key.

https://jira.mongodb.org/browse/PHPC-314


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345225 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-27 18:16:36 +00:00
Derick Rethans
f2d59658fa Add very basic information on fieldPath mappings.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345223 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-27 16:12:43 +00:00
Derick Rethans
b87a886f8c Update documentation to reflect correct inheritence, and changes since 1.4.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345221 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-27 11:47:15 +00:00
Jeremy Mikola
9a2cbb997c defaultTransactionOptions defaults to an empty array
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345216 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-26 01:14:00 +00:00
Jeremy Mikola
0aae99e798 Note upper bound on wtimeoutMS param for WriteConcern constructor
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345215 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-25 20:23:05 +00:00
Jeremy Mikola
2a4ade885c Always validate and apply wtimeoutMS in URI options array
https://jira.mongodb.org/browse/PHPC-1216


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345214 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-25 20:21:52 +00:00
Jeremy Mikola
81acec0aa0 Error at execution time if Bulk::update() arrayFilters is unsupported
https://jira.mongodb.org/browse/PHPC-1196


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345212 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-25 16:21:24 +00:00
Jeremy Mikola
899b175b66 MongoDB\BSON\Int64 class documentation
https://jira.mongodb.org/browse/PHPC-1211


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345186 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-22 18:50:01 +00:00
Jeremy Mikola
6ff13d6d37 Remove Error sections on __toString() methods, which cannot throw
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345185 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-22 18:48:46 +00:00
Jeremy Mikola
66d301903b Use common note for BSON jsonSerialize() return value docs
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345184 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-22 18:45:22 +00:00
Jeremy Mikola
aaaeefbb39 Errors are not relevant for private ctors on deprecated BSON types
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345183 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-22 18:43:55 +00:00
Derick Rethans
c26c53aec6 Add (basic) documentation for MongoDB 4.0+ transactions.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345182 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-22 16:19:51 +00:00
Jeremy Mikola
518443c9c7 Describe previous behavior in UTCDateTime constructor changelog
https://jira.mongodb.org/browse/PHPC-536


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345084 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-01 16:55:52 +00:00
Jeremy Mikola
c2798b8987 Document CommandFailedEvent::getReply()
https://jira.mongodb.org/browse/PHPC-1076


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345045 c90b9560-bf6c-de11-be94-00142212c4b1
2018-05-22 17:42:28 +00:00
Jeremy Mikola
3248a1dd4d Add maxTimeMS examples for executeQuery and executeCommand
https://jira.mongodb.org/browse/PHPC-585


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345032 c90b9560-bf6c-de11-be94-00142212c4b1
2018-05-18 19:12:22 +00:00
Jeremy Mikola
f9c63b0067 PHP extension formulae are no longer in Homebrew
https://jira.mongodb.org/browse/PHPC-1168


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344849 c90b9560-bf6c-de11-be94-00142212c4b1
2018-04-26 21:30:02 +00:00
Jeremy Mikola
6ef92afe13 Explicit sessions cannot be used with unacknowledged write concerns
https://jira.mongodb.org/browse/PHPC-1163


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344841 c90b9560-bf6c-de11-be94-00142212c4b1
2018-04-26 16:20:18 +00:00
Derick Rethans
80f26e5674 Alphabetise
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344837 c90b9560-bf6c-de11-be94-00142212c4b1
2018-04-25 14:57:17 +00:00
Derick Rethans
a9b1a98cd0 PHPC-1137/PHPC-1138: Deprecate maxScan and snapshot options
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344836 c90b9560-bf6c-de11-be94-00142212c4b1
2018-04-25 14:56:10 +00:00
Derick Rethans
8c5b5e91bc PHPC-1170: Deprecate autoIndexId for collection creation
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344831 c90b9560-bf6c-de11-be94-00142212c4b1
2018-04-25 08:36:37 +00:00
Derick Rethans
96624d9c58 Fixed order due to changes from PHPC-1156
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344660 c90b9560-bf6c-de11-be94-00142212c4b1
2018-04-12 09:47:40 +00:00
Katherine Walker
5cb9e6a37f Deprecate SSLConnectionException
https://jira.mongodb.org/browse/PHPC-1088


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344622 c90b9560-bf6c-de11-be94-00142212c4b1
2018-04-05 16:29:47 +00:00
Katherine Walker
88927b5db9 Document ServerException error codes
https://jira.mongodb.org/browse/PHPC-1087


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344582 c90b9560-bf6c-de11-be94-00142212c4b1
2018-03-28 18:32:06 +00:00
Peter Cowburn
4e60f8596d add standard svn properties; svn:eol-style, svn:ignore, and svn:keywords
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344571 c90b9560-bf6c-de11-be94-00142212c4b1
2018-03-26 21:27:50 +00:00
Katherine Walker
e56d9eadaa Document CommandException
https://jira.mongodb.org/browse/PHPC-1089


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344541 c90b9560-bf6c-de11-be94-00142212c4b1
2018-03-20 17:23:52 +00:00
Katherine Walker
2af032c790 Document ServerException
https://jira.mongodb.org/browse/PHPC-1087


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344540 c90b9560-bf6c-de11-be94-00142212c4b1
2018-03-20 14:12:33 +00:00
Katherine Walker
e8d7ed4e2f Test III
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344539 c90b9560-bf6c-de11-be94-00142212c4b1
2018-03-20 14:04:55 +00:00
Derick Rethans
8499ec6a6b Test II
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344538 c90b9560-bf6c-de11-be94-00142212c4b1
2018-03-20 14:01:39 +00:00
Derick Rethans
50f1f0e64f Test
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344537 c90b9560-bf6c-de11-be94-00142212c4b1
2018-03-20 13:59:23 +00:00
Peter Cowburn
0dad2268d5 add missing svn properties, svn:eol-style and svn:keywords
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344522 c90b9560-bf6c-de11-be94-00142212c4b1
2018-03-15 22:01:56 +00:00
Peter Cowburn
1113dcb235 remove unwanted entities.*.xml files
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344520 c90b9560-bf6c-de11-be94-00142212c4b1
2018-03-15 21:51:09 +00:00
Jeremy Mikola
f8eaba8728 Add missing final modifiers to MongoDB classes
These classes have always been final, but that was not reflected in the documentation.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344505 c90b9560-bf6c-de11-be94-00142212c4b1
2018-03-14 17:24:49 +00:00
Jeremy Mikola
2a7dbbe7aa Server selection may throw ConnectionTimeoutException
This also removes the connectTimeoutMS entity and links both options to the Manager constructor.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344498 c90b9560-bf6c-de11-be94-00142212c4b1
2018-03-13 20:51:33 +00:00
Jeremy Mikola
461bcf6643 Update example for iterating a tailable MongoDB\Driver\Cursor
https://jira.mongodb.org/browse/PHPC-962


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344449 c90b9560-bf6c-de11-be94-00142212c4b1
2018-03-05 18:12:27 +00:00
Jeremy Mikola
d822950df7 Fix typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344260 c90b9560-bf6c-de11-be94-00142212c4b1
2018-02-14 21:16:08 +00:00
Jeremy Mikola
b5921f4363 Discuss BSON deserialization caveats
https://jira.mongodb.org/browse/PHPC-456


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344259 c90b9560-bf6c-de11-be94-00142212c4b1
2018-02-14 21:14:21 +00:00
Jeremy Mikola
a233ecbf51 Document MongoDB compression URI options
https://jira.mongodb.org/browse/PHPC-967


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344201 c90b9560-bf6c-de11-be94-00142212c4b1
2018-02-08 18:58:39 +00:00
Jeremy Mikola
14f834fa03 Revise documentation for MongoDB\Driver\Cursor::isDead()
libmongoc changed its behavior in 1.4.0, so the old text was no longer accurate.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344169 c90b9560-bf6c-de11-be94-00142212c4b1
2018-02-02 23:00:08 +00:00
Jakub Vrana
b06b5b0830 Use array() initializer instead of []
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344127 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-31 08:23:47 +00:00
Andrey Gromov
a39444187c typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344035 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-29 10:06:14 +00:00
Jeremy Mikola
630ea2595e Add version info for MongoDB read/write command methods
https://jira.mongodb.org/browse/PHPC-834


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344008 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-28 16:07:31 +00:00
Jeremy Mikola
77ff9724ac Document new MongoDB execute methods for read/write commands
This also revises shared content across other execute methods in the Manager and Server classes.

https://jira.mongodb.org/browse/PHPC-834


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343963 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-26 22:15:35 +00:00
Jeremy Mikola
5c9f2d1643 Revise docs for Query readConcern and note server requirement
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343962 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-26 21:15:27 +00:00
Jeremy Mikola
0f19fd56d9 Use simpara for notes with only one paragraph
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343960 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-26 20:52:05 +00:00
Jeremy Mikola
3d6695d21f Use note instead of warning for MongoDB\Driver\Timestamp purpose
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343957 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-26 20:39:47 +00:00
Jeremy Mikola
7c29a027bb Options array for MongoDB Manager and Server execute methods
https://jira.mongodb.org/browse/PHPC-1042


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343956 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-26 20:31:37 +00:00
Jeremy Mikola
1db5d59b66 Use consistent language for MongoDB\Driver constructors
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343954 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-26 18:49:00 +00:00
Jeremy Mikola
680a79dd69 New options param for MongoDB\Driver\Command constructor
https://jira.mongodb.org/browse/PHPC-1029


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343953 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-26 18:47:28 +00:00
Jeremy Mikola
855236c33f Remove index.html from MongoDB manual URL
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343952 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-26 18:11:04 +00:00
Jeremy Mikola
6d21f97b22 Revise descriptions for write concern MongoDB URI options
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343906 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-25 22:14:35 +00:00
Jeremy Mikola
1c933fa9f3 Separate MongoDB manual link into its own paragraph
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343905 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-25 22:09:45 +00:00
Jeremy Mikola
a1237d6e72 Document retryWrites MongoDB URI option
https://jira.mongodb.org/browse/PHPC-986


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343904 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-25 22:08:31 +00:00
Jeremy Mikola
5d5ec0df7b Document MongoDB\Driver\Session API
https://jira.mongodb.org/browse/PHPC-980


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343903 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-25 21:38:48 +00:00
Jeremy Mikola
68fb0fcce2 Fix MongoDB\Driver\Manager::selectServer() return value syntax
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343902 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-25 21:37:19 +00:00
Jakub Vrana
ad2e71299d Use int instead of integer in return type
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343892 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-25 15:57:18 +00:00
Jakub Vrana
be295015d0 Use int instead of integer in parameters
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343891 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-25 15:56:34 +00:00
Jakub Vrana
cf1434873d Use bool instead of boolean in parameters
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343890 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-25 15:52:49 +00:00
Jakub Vrana
331fbfeac5 Use bool instead of boolean in return types
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343889 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-25 15:50:10 +00:00
Jeremy Mikola
57d928fbea MongoDB\Driver\BulkWrite::update() arrayFilters option
https://jira.mongodb.org/browse/PHPC-975


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343868 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-24 22:13:21 +00:00
Jeremy Mikola
09a7dc6916 Update docs for read concern levels in MongoDB 3.6
Level descriptions are copied from the MongoDB manual.

https://jira.mongodb.org/browse/PHPC-1078


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343866 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-24 21:44:21 +00:00
Jeremy Mikola
fd4b1601e4 Improve MongoDB installation docs for 1.4.0
This improves discussion around configure options for manual builds, reminds users that each version of PHP has its own PECL command and INI file, and encourages Homebrew users to rely on the formula install method.

https://jira.mongodb.org/browse/PHPC-1055


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343859 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-24 00:11:28 +00:00
Jeremy Mikola
435617f0f2 MongoDB driver requires PHP 5.5
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343858 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-24 00:10:05 +00:00
Derick Rethans
9bd87c182d PHPC-1079: Document that jsonSerialize() returns legacy extended JSON
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343817 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-11 12:05:23 +00:00
Derick Rethans
f16eec1f5e PHPC-962: Document example of tailable cursor iteration
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343765 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-03 17:08:04 +00:00
Derick Rethans
8b0b6b72fa PHPC-1024: Document BSON exceptions for Cursor iteration / PHPC-1080: Document new BSON classes
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343748 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-02 15:17:29 +00:00
Derick Rethans
0df6abfdeb PHPC-599: Document 32-bit platform limitation for Timestamp arguments
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343438 c90b9560-bf6c-de11-be94-00142212c4b1
2017-11-21 12:57:11 +00:00
Jeremy Mikola
33d77a9d4a Unsupported BSON types are ignored again, but log warnings
https://jira.mongodb.org/browse/PHPC-1026


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343352 c90b9560-bf6c-de11-be94-00142212c4b1
2017-10-30 21:15:03 +00:00
André Luis Ferreira da Silva Bacci
e9366ee458 Fix svn:eol-style, svn:keywords and svn:mime-type on XML files. No content change, but some revision numbers will upgrade.
See https://github.com/phpdocbrbridge/bridge/blob/master/src/revbumper.php for automatic tool for translations.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342988 c90b9560-bf6c-de11-be94-00142212c4b1
2017-09-02 18:42:15 +00:00
Jeremy Mikola
50bd3db54a Fix character case in MongoDB\BSON\ObjectId changelog
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342972 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-30 16:08:26 +00:00
Jeremy Mikola
2c423ff085 Rename ObjectID (and its interface) to ObjectId
https://jira.mongodb.org/browse/PHPC-1004


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342971 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-30 16:05:54 +00:00
Jeremy Mikola
8dcacceecc Revert MongoDB\BSON\CursorId renaming (r342968)
https://jira.mongodb.org/browse/PHPC-1004


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342970 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-30 15:57:18 +00:00
Jeremy Mikola
625dc08fa5 Add class description for MongoDB\BSON\CursorID
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342969 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-29 14:01:15 +00:00
Jeremy Mikola
f0109e97e6 Rename CursorId to CursorID
https://jira.mongodb.org/browse/PHPC-1004


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342968 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-29 14:00:32 +00:00
Jeremy Mikola
3c85371563 Remove empty <para> blocks
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342964 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-28 21:50:49 +00:00
Jeremy Mikola
c17a0c4517 PHPC-640: Document BSON type interfaces
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342963 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-28 21:41:45 +00:00
Jeremy Mikola
12cb072ae5 Fix copypasta in return value documentation
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342960 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-28 19:40:16 +00:00
Jeremy Mikola
680b85d4cc MongoDB Application Performance Monitoring classes and functions
This builds upon an initial patch from Derick.

https://jira.mongodb.org/browse/PHPC-349


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342922 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-23 20:09:04 +00:00
Jeremy Mikola
6e77d8214c Document isDefault() method for ReadConcern and WriteConcern
https://jira.mongodb.org/browse/PHPC-976


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342870 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-17 17:14:54 +00:00
Jeremy Mikola
371b0fbba9 Revert MongoDB\BSON\TypeWrapper documentation (r342837)
https://jira.mongodb.org/browse/PHPC-640


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342859 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-16 15:57:16 +00:00
Jeremy Mikola
c02a972e97 Use canonical capitalization when referring to ObjectID class
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342838 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-11 00:15:10 +00:00
Jeremy Mikola
52c747e77a Document MongoDB\BSON\TypeWrapper interface
https://jira.mongodb.org/browse/PHPC-640

This only adds API documentation for the actual interface. Additional documentation will needed to be added to the persistence documentation.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342837 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-11 00:12:52 +00:00
Jeremy Mikola
70f942e5b5 Add descriptions for BSON type classes
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342836 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-11 00:09:58 +00:00
Jeremy Mikola
46a1d4b315 Add description for MongoDB\BSON\Type interface
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342835 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-10 22:57:29 +00:00
Jeremy Mikola
6c891e6655 Use semantic tags and entities for interfaces
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342834 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-10 22:56:40 +00:00
Jeremy Mikola
2d4a3c703f Rename extended JSON functions to[Canonical|Relaxed]ExtendedJSON()
https://jira.mongodb.org/browse/PHPC-992


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342833 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-10 16:54:55 +00:00
Jeremy Mikola
b58ac4b376 Add MongoDB\BSON\Serializable implementation to changelogs
https://jira.mongodb.org/browse/PHPC-498


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342815 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-08 19:15:38 +00:00
Jeremy Mikola
12e987588b Tweak language for "bypassDocumentValidation" option
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342806 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-07 22:18:16 +00:00
Jeremy Mikola
a8f794aa34 Document "bypassDocumentValidation" option for MongoDB\Driver\BulkWrite
https://jira.mongodb.org/browse/PHPC-443


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342805 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-07 22:16:15 +00:00
Jeremy Mikola
99a69b7355 Replace "int" with "integer"
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342804 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-07 22:05:22 +00:00
Jeremy Mikola
239c44318f Replace "bool" with "boolean"
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342803 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-07 21:57:43 +00:00
Derick Rethans
ec9153c90e Fixed example, I hadn't meant to commit this yet and it wasn't finished.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342764 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-03 08:25:58 +00:00
Christoph Michael Becker
e9a0ef38b3 Fix broken build
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342762 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-02 17:55:20 +00:00
Derick Rethans
45ece29b4a Removed HHVM references from manual.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342761 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-02 11:07:43 +00:00
Jeremy Mikola
a472e8b974 Add toCanonicalJSON() and toRelaxedJSON() and note toJSON() caveats
https://jira.mongodb.org/browse/PHPC-941


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342757 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-01 20:45:53 +00:00
Jeremy Mikola
c3fb91ffbe List BSON function exceptions and create snippet for common error
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342755 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-01 18:10:05 +00:00
Jeremy Mikola
fa370e5e3f Document Timestamp::getIncrement() and getTimestamp()
https://jira.mongodb.org/browse/PHPC-985


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342754 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-01 17:31:21 +00:00
Jeremy Mikola
f704d0a613 Revise ObjectID::getTimestamp() description and note for 32-bit systems
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342753 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-01 17:30:28 +00:00
Jeremy Mikola
2fa1fb072f MongoDB\BSON\toPHP() throws for unsupported BSON types
https://jira.mongodb.org/browse/PHPC-302


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342744 c90b9560-bf6c-de11-be94-00142212c4b1
2017-07-31 19:25:24 +00:00
Jeremy Mikola
5829bef991 MongoDB\BSON\Binary requires 16-byte data length for UUID types
https://jira.mongodb.org/browse/PHPC-895


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342743 c90b9560-bf6c-de11-be94-00142212c4b1
2017-07-31 19:15:13 +00:00
Jeremy Mikola
a4bb79d4c7 ReadPreference constructor accepts string for mode argument
https://jira.mongodb.org/browse/PHPC-904


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342742 c90b9560-bf6c-de11-be94-00142212c4b1
2017-07-31 19:08:13 +00:00
Jeremy Mikola
ce00c58015 Fix typo in code example
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342741 c90b9560-bf6c-de11-be94-00142212c4b1
2017-07-31 19:02:13 +00:00
Jeremy Mikola
616efe6ce3 executeBulkWrite() throws InvalidArgumentException if BulkWrite is empty
https://jira.mongodb.org/browse/PHPC-628


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342740 c90b9560-bf6c-de11-be94-00142212c4b1
2017-07-31 18:53:55 +00:00
Jeremy Mikola
ca221144de MongoDB\Driver\BulkWrite::insert() always returns the document ID
https://jira.mongodb.org/browse/PHPC-471


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342739 c90b9560-bf6c-de11-be94-00142212c4b1
2017-07-31 18:44:50 +00:00
Jeremy Mikola
84908b751f Do not use majority write concern for write examples with standalone URI
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342738 c90b9560-bf6c-de11-be94-00142212c4b1
2017-07-31 18:35:10 +00:00
Jeremy Mikola
f3df397735 Sync ReadConcern::LOCAL description with constructor docs
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342662 c90b9560-bf6c-de11-be94-00142212c4b1
2017-07-11 20:43:14 +00:00
Jeremy Mikola
42b25c2cbb Document MongoDB\Driver\ReadConcern::LINEARIZABLE constant for $level
https://jira.mongodb.org/browse/PHPC-777


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342661 c90b9560-bf6c-de11-be94-00142212c4b1
2017-07-11 20:40:49 +00:00
Jeremy Mikola
c89f51001b Clarify that multi-document replacements are not supported
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342593 c90b9560-bf6c-de11-be94-00142212c4b1
2017-06-15 17:56:48 +00:00
Jeremy Mikola
1e6830fdcc MongoDB\Driver\Query maxAwaitTimeMS option
https://jira.mongodb.org/browse/PHPC-839


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342530 c90b9560-bf6c-de11-be94-00142212c4b1
2017-05-30 20:56:38 +00:00
Christoph Michael Becker
cd016816d6 Fix #74630: Syntax error in example
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342493 c90b9560-bf6c-de11-be94-00142212c4b1
2017-05-22 16:33:58 +00:00
Jeremy Mikola
94bb83773b Quote strings in initializer values
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342475 c90b9560-bf6c-de11-be94-00142212c4b1
2017-05-08 20:10:25 +00:00
Jeremy Mikola
2786d23f59 Use short array syntax in initializer value
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342474 c90b9560-bf6c-de11-be94-00142212c4b1
2017-05-08 20:08:56 +00:00
Jeremy Mikola
8cb8b58843 Document precendence of authMechanismProperties MongoDB URI options
https://jira.mongodb.org/browse/PHPC-915


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342427 c90b9560-bf6c-de11-be94-00142212c4b1
2017-04-26 16:50:52 +00:00
Jeremy Mikola
bfbc437d17 Document authMechanism options for MongoDB URI options array
https://jira.mongodb.org/browse/PHPC-772


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342426 c90b9560-bf6c-de11-be94-00142212c4b1
2017-04-26 16:44:54 +00:00
Jeremy Mikola
2736845f69 Use consistent units for default connectTimeoutMS MongoDB URI option
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341908 c90b9560-bf6c-de11-be94-00142212c4b1
2017-02-16 16:04:23 +00:00
Jeremy Mikola
d6fe182e3b Document limits for heartbeatFrequencyMS and maxStalenessSeconds MongoDB URI options
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341907 c90b9560-bf6c-de11-be94-00142212c4b1
2017-02-16 16:03:27 +00:00
Jeremy Mikola
e650d676f4 Fix typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341906 c90b9560-bf6c-de11-be94-00142212c4b1
2017-02-16 15:44:51 +00:00
Jeremy Mikola
2a53b0b53c MongoDB Manager does not support authMechanism and authMechanismProperties in options array
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341904 c90b9560-bf6c-de11-be94-00142212c4b1
2017-02-15 19:39:53 +00:00
Jeremy Mikola
ea6d09f6d1 Document SDAM and appname MongoDB\Driver\Manager URI options
https://jira.mongodb.org/browse/PHPC-825


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341860 c90b9560-bf6c-de11-be94-00142212c4b1
2017-02-06 20:59:38 +00:00
Jeremy Mikola
cc024f9d1d Document most MongoDB\Driver\Manager URI options
https://jira.mongodb.org/browse/PHPC-825


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341787 c90b9560-bf6c-de11-be94-00142212c4b1
2017-01-27 22:39:48 +00:00
Jeremy Mikola
e325ccd39d Document RC, RP, and WC accessors for MongoDB\Driver\Manager
https://jira.mongodb.org/browse/PHPC-196
https://jira.mongodb.org/browse/PHPC-448


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341786 c90b9560-bf6c-de11-be94-00142212c4b1
2017-01-27 20:02:37 +00:00
Jeremy Mikola
c35ebfb47e MongoDB connections are initialized lazily
https://jira.mongodb.org/browse/PHPC-897


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341785 c90b9560-bf6c-de11-be94-00142212c4b1
2017-01-27 18:48:03 +00:00
Jeremy Mikola
0a74d16a98 Fix links to libmongoc
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341773 c90b9560-bf6c-de11-be94-00142212c4b1
2017-01-26 17:28:58 +00:00
Jeremy Mikola
238822c757 MongoDB\BSON classes implement JsonSerializable in 1.2.0+
https://jira.mongodb.org/browse/PHPC-459


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341742 c90b9560-bf6c-de11-be94-00142212c4b1
2017-01-20 16:51:04 +00:00
Jeremy Mikola
ae59b81ce1 Document default $uri for MongoDB\Driver\Manager
https://jira.mongodb.org/browse/PHPC-746
https://jira.mongodb.org/browse/PHPC-509


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341739 c90b9560-bf6c-de11-be94-00142212c4b1
2017-01-20 00:02:06 +00:00
Jeremy Mikola
14933383d1 Document MongoDB\BSON\Binary type constants
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341738 c90b9560-bf6c-de11-be94-00142212c4b1
2017-01-19 23:53:11 +00:00
Jeremy Mikola
e32c9f1225 Add period at end of sentence
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341737 c90b9560-bf6c-de11-be94-00142212c4b1
2017-01-19 23:52:06 +00:00
Jeremy Mikola
548553c4df MongoDB\BSON\Binary $type is an unsigned 8-bit integer
https://jira.mongodb.org/browse/PHPC-593


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341736 c90b9560-bf6c-de11-be94-00142212c4b1
2017-01-19 23:28:19 +00:00
Jeremy Mikola
9fc4f0ed7a MongoDB\BSON\Javascript $code does not allow null bytes
https://jira.mongodb.org/browse/PHPC-721


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341735 c90b9560-bf6c-de11-be94-00142212c4b1
2017-01-19 23:26:03 +00:00
Jeremy Mikola
6902c0eb36 MongoDB\BSON classes implement Serializable in 1.2.0+
https://jira.mongodb.org/browse/PHPC-460


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341734 c90b9560-bf6c-de11-be94-00142212c4b1
2017-01-19 21:55:49 +00:00
Jeremy Mikola
1b40ad3650 Fix return type for MongoDB\BSON\Regex::getFlags()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341733 c90b9560-bf6c-de11-be94-00142212c4b1
2017-01-19 21:12:54 +00:00
Jeremy Mikola
263e573016 Document MongoDB\BSON\Binary and Javascript __toString() methods
https://jira.mongodb.org/browse/PHPC-729


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341732 c90b9560-bf6c-de11-be94-00142212c4b1
2017-01-19 21:11:33 +00:00
Jeremy Mikola
0b64d765d8 Document MongoDB\BSON\Javascript getCode and getScope methods
https://jira.mongodb.org/browse/PHPC-730


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341731 c90b9560-bf6c-de11-be94-00142212c4b1
2017-01-19 21:02:33 +00:00
Jeremy Mikola
8a92bfe2ec Document MongoDB\Driver\ReadPreference maxStalenessSeconds option
https://jira.mongodb.org/browse/PHPC-827


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341730 c90b9560-bf6c-de11-be94-00142212c4b1
2017-01-19 20:52:14 +00:00
Jeremy Mikola
2c8428a75e Use <parameter> instead of <literal> for argument refs
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341729 c90b9560-bf6c-de11-be94-00142212c4b1
2017-01-19 20:01:00 +00:00
Jeremy Mikola
b718b320c8 MongoDB\BSON\Regex $pattern and $flags do not allow null bytes
https://jira.mongodb.org/browse/PHPC-724


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341728 c90b9560-bf6c-de11-be94-00142212c4b1
2017-01-19 19:57:09 +00:00
Jeremy Mikola
6424c048e4 MongoDB\BSON\Regex flags default to empty string and are sorted
https://jira.mongodb.org/browse/PHPC-742
https://jira.mongodb.org/browse/PHPC-829


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341727 c90b9560-bf6c-de11-be94-00142212c4b1
2017-01-19 19:52:23 +00:00
Jeremy Mikola
fd2bf308d9 Document MongoDB\BSON\ObjectID::getTimestamp() for 1.2.0+
https://jira.mongodb.org/browse/PHPC-552


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341726 c90b9560-bf6c-de11-be94-00142212c4b1
2017-01-19 19:42:24 +00:00
Jeremy Mikola
4cf62db370 Update MongoDB\BSON\UTCDateTime ctor args for 1.2.0
https://jira.mongodb.org/browse/PHPC-536


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341725 c90b9560-bf6c-de11-be94-00142212c4b1
2017-01-19 19:28:33 +00:00
Jean-Sebastien Hedde
4e0bf22904 Correct spelling in 5th paragraph
-- 
Provided by anonymous 78128 ()

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341586 c90b9560-bf6c-de11-be94-00142212c4b1
2017-01-02 12:27:47 +00:00
Jeremy Mikola
9e03992589 Update API references to MongoDB PHP library
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341425 c90b9560-bf6c-de11-be94-00142212c4b1
2016-12-19 20:32:16 +00:00