Commit graph

285 commits

Author SHA1 Message Date
alcaeus
216fb141c5 MongoDB: Document new configure switch to use system libraries over bundled ones
https://jira.mongodb.org/browse/PHPC-1497

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@348993 c90b9560-bf6c-de11-be94-00142212c4b1
2020-01-23 07:34:04 +00:00
Jeremy Mikola
60d9cce940 Revise notes for implicitly enabling TLS
https://jira.mongodb.org/browse/PHPC-1450


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@348272 c90b9560-bf6c-de11-be94-00142212c4b1
2019-11-08 16:40:47 +00:00
alcaeus
d519d2af37 Document implicit TLS connections when using TLS options
https://jira.mongodb.org/browse/PHPC-1450

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@348263 c90b9560-bf6c-de11-be94-00142212c4b1
2019-11-05 08:39:55 +00:00
Jeremy Mikola
1e327d1205 Improve docs for Cursor::isDead()
https://jira.mongodb.org/browse/PHPC-1279


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@348250 c90b9560-bf6c-de11-be94-00142212c4b1
2019-11-01 14:44:24 +00:00
Jeremy Mikola
e887e838c4 Encourage executeBulkWrite over executeWriteCommand
https://jira.mongodb.org/browse/PHPC-1350


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@348233 c90b9560-bf6c-de11-be94-00142212c4b1
2019-10-29 22:44:51 +00:00
alcaeus
511666b616 Inform users that mongodb.debug output contains sensitive information
https://jira.mongodb.org/browse/PHPC-1424

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@348230 c90b9560-bf6c-de11-be94-00142212c4b1
2019-10-28 18:48:12 +00:00
alcaeus
4bab668b1e Document that users may need to copy libsasl.dll to lib path for Windows installs
https://jira.mongodb.org/browse/PHPC-1314

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@348229 c90b9560-bf6c-de11-be94-00142212c4b1
2019-10-28 15:09:53 +00:00
alcaeus
f86cb421a1 Advise users to use 64-bit environments if possible
https://jira.mongodb.org/browse/PHPC-1312

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@348228 c90b9560-bf6c-de11-be94-00142212c4b1
2019-10-28 13:11:36 +00:00
Jeremy Mikola
480b7c6ea6 BulkWrite objects cannot be executed multiple times
https://jira.mongodb.org/browse/PHPC-1269


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@348075 c90b9560-bf6c-de11-be94-00142212c4b1
2019-09-27 13:59:20 +00:00
Jeremy Mikola
d5a7d85201 Document retryReads URI option
https://jira.mongodb.org/browse/PHPC-1291


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347964 c90b9560-bf6c-de11-be94-00142212c4b1
2019-09-08 19:26:46 +00:00
Jeremy Mikola
bb6dae01b0 retryWrites defaults to true and fixed link
https://jira.mongodb.org/browse/PHPC-1324


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347963 c90b9560-bf6c-de11-be94-00142212c4b1
2019-09-08 19:24:19 +00:00
Jeremy Mikola
90f19b203f Document "tls" prefixed URI options for Manager ctor
https://jira.mongodb.org/browse/PHPC-1288


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347962 c90b9560-bf6c-de11-be94-00142212c4b1
2019-09-08 19:14:34 +00:00
Jeremy Mikola
3675114c45 Fix apostrophes in Manager ctor option docs
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347961 c90b9560-bf6c-de11-be94-00142212c4b1
2019-09-08 18:09:12 +00:00
Jeremy Mikola
04ca316e18 Revise docs for CursorInterface
Replace Traversable with CursorInterface for Cursor class synopsis, but note that CursorInterface extends Traversable in the changelog. Replace "final" modifier with "abstract" for interface methods. Add "See Also" links to Cursor methods. Remove iteration details from setTypeMap(), as those are more relevant to the Cursor implementation. Change order of CursorInterface in MongoDB\Driver class list.

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


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347939 c90b9560-bf6c-de11-be94-00142212c4b1
2019-09-05 03:29:38 +00:00
Jeremy Mikola
ee03de339e Rephrase changelog entry for BulkWrite::update()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347938 c90b9560-bf6c-de11-be94-00142212c4b1
2019-09-04 23:51:13 +00:00
Jeremy Mikola
9cd5ba6bf1 Add missing changelog entries for BSON interfaces
https://jira.mongodb.org/browse/PHPC-640


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347937 c90b9560-bf6c-de11-be94-00142212c4b1
2019-09-04 23:48:13 +00:00
Jeremy Mikola
0a8dba44e3 Revise description for Session::getServer()
https://jira.mongodb.org/browse/PHPC-1290


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347936 c90b9560-bf6c-de11-be94-00142212c4b1
2019-09-04 23:46:17 +00:00
Jeremy Mikola
08f2c69ffe Revise description for Session::isInTransaction
https://jira.mongodb.org/browse/PHPC-1231


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347935 c90b9560-bf6c-de11-be94-00142212c4b1
2019-09-04 23:45:24 +00:00
alcaeus
82d3467edd PHPC-1231: Document Session::isInTransaction
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347933 c90b9560-bf6c-de11-be94-00142212c4b1
2019-09-04 20:14:38 +00:00
alcaeus
7d93d3fb5a PHPC-1290: Document new method for session mongos pinning
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347932 c90b9560-bf6c-de11-be94-00142212c4b1
2019-09-04 20:13:46 +00:00
alcaeus
484d7de9fb PHPC-1123: Document new Cursor interface
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347931 c90b9560-bf6c-de11-be94-00142212c4b1
2019-09-04 20:12:30 +00:00
alcaeus
b8d5719086 PHPC-1382: Document maxCommitTimeMS option for transactions
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347930 c90b9560-bf6c-de11-be94-00142212c4b1
2019-09-04 20:05:14 +00:00
alcaeus
9c0ca25e80 PHPC-1355: Document using aggregation pipeline in updates
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347929 c90b9560-bf6c-de11-be94-00142212c4b1
2019-09-04 20:03:59 +00:00
alcaeus
55212f82fb PHPC-1254: Document changes to ObjectID
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347928 c90b9560-bf6c-de11-be94-00142212c4b1
2019-09-04 20:03:01 +00:00
Jeremy Mikola
f8ec46bc76 Session::startTransaction() options is an optional array
https://jira.mongodb.org/browse/PHPC-1432


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347904 c90b9560-bf6c-de11-be94-00142212c4b1
2019-08-28 16:35:59 +00:00
Nikita Popov
f1e951b988 Remove duplicated words
Patch by carusogabriel.

Closes php/doc-en#7.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347749 c90b9560-bf6c-de11-be94-00142212c4b1
2019-07-14 13:46:42 +00:00
George Peter Banyard
b73df01f31 English typo
Provided by sergey

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347472 c90b9560-bf6c-de11-be94-00142212c4b1
2019-05-22 21:23:10 +00:00
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