Commit graph

188 commits

Author SHA1 Message Date
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