Commit graph

258 commits

Author SHA1 Message Date
Jeremy Mikola
69b7314dc6 Clarify interactions with sessions and transactions
Copy some language from the MongoDB manual and clarify that sessions close due to garbage collection.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346802 c90b9560-bf6c-de11-be94-00142212c4b1
2019-02-11 15:22:44 +00:00
Peter Cowburn
4691215483 set standard svn:eol-style svn:keywords properties
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346395 c90b9560-bf6c-de11-be94-00142212c4b1
2018-12-18 21:10:59 +00:00
Jeremy Mikola
752a9c9992 Advise users to install PHP via Homebrew
Remove reference to deprecated formulae and simply remind users to use the correct PECL binary.

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


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346076 c90b9560-bf6c-de11-be94-00142212c4b1
2018-11-26 22:45:23 +00:00
Christoph Michael Becker
f38246fb1f Fix typo
Patch provided by Sergey Aksenov.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345580 c90b9560-bf6c-de11-be94-00142212c4b1
2018-09-01 10:56:11 +00:00
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