Commit graph

116 commits

Author SHA1 Message Date
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
Jeremy Mikola
c43f9f44b5 Refer to Composer's autoloader instead of "goodies"
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341424 c90b9560-bf6c-de11-be94-00142212c4b1
2016-12-19 20:13:06 +00:00
Jeremy Mikola
946be1e6c7 Remove MongoDB library version from Composer install examples
By default, Composer installs the most recent stable version and declares a requirement with the caret operator (allowing any newer versions up to but not including the next major version).


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341423 c90b9560-bf6c-de11-be94-00142212c4b1
2016-12-19 20:11:37 +00:00
Jeremy Mikola
21efb4a406 Versions of MongoDB before 2.6 do not report modified count
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341054 c90b9560-bf6c-de11-be94-00142212c4b1
2016-11-16 15:15:28 +00:00
Jeremy Mikola
44f1deb1f8 Fix DLL filename for MongoDB Windows install docs
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340943 c90b9560-bf6c-de11-be94-00142212c4b1
2016-11-09 23:42:18 +00:00
Jeremy Mikola
51430ffcf9 Socket paths in MongoDB URIs must be encoded
https://jira.mongodb.org/browse/PHPC-826


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340926 c90b9560-bf6c-de11-be94-00142212c4b1
2016-11-08 20:52:48 +00:00
Jeremy Mikola
a622b7db61 BSON serialization for ReadConcern, ReadPreference, and WriteConcern
https://jira.mongodb.org/browse/PHPC-504


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340683 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-25 20:30:42 +00:00
Jeremy Mikola
10fb3bab81 Advise users not to re-use MongoDB\Driver\Manager objects after forking
https://jira.mongodb.org/browse/PHPC-625


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340679 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-25 19:52:18 +00:00
Jeremy Mikola
d35bbf11d3 Document persistent connection behavior for ext-mongodb
https://jira.mongodb.org/browse/PHPC-780


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340677 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-25 19:41:19 +00:00
Jeremy Mikola
05da8016b9 Use the PHP manual's consistent spelling of "serialization"
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340673 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-25 18:10:32 +00:00
Jeremy Mikola
9c7c9d9f1b Suggest pkg-config if MongoDB cannot find OpenSSL
https://jira.mongodb.org/browse/PHPC-674


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340672 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-25 17:48:03 +00:00
Jeremy Mikola
245a0e29a8 Document mongodb extension dependencies
https://jira.mongodb.org/browse/PHPC-520


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340671 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-25 17:46:25 +00:00
Jeremy Mikola
0625a2700b Fix table columns for MongoDB\Driver\Query constructor options
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340645 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-25 01:25:27 +00:00
Jeremy Mikola
53e7ce82fc Update MongoDB\Driver\Manager connection examples
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340644 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-25 01:24:34 +00:00
Jeremy Mikola
f08a7bff1b Document MongoDB\Driver\Manager SSL driver options
https://jira.mongodb.org/browse/PHPC-416


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340643 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-25 01:23:01 +00:00
Jeremy Mikola
61f9e84aa7 Document MongoDB\Driver\WriteResult
https://jira.mongodb.org/browse/PHPC-653


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340640 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-24 20:45:43 +00:00
Jeremy Mikola
8e1e826ff3 Link to Query and Command classes in MongoDB\Driver\Cursor::getServer()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340639 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-24 19:47:57 +00:00
Jeremy Mikola
697b3c9468 Document MongoDB\Driver\WriteError
https://jira.mongodb.org/browse/PHPC-653


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340584 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-21 19:52:33 +00:00
Jeremy Mikola
cf9ca1558a Fix namespace string in MongoDB\Driver\WriteConcernError examples
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340583 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-21 19:42:53 +00:00
Jeremy Mikola
2859692a9e Document MongoDB\Driver\WriteConcernError
https://jira.mongodb.org/browse/PHPC-653


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340582 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-21 19:06:05 +00:00
Jeremy Mikola
08afc1e7ab Document MongoDB\Driver\Decimal128 for ext-mongodb 1.2+
https://jira.mongodb.org/browse/PHPC-751


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340581 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-21 18:10:50 +00:00
Jeremy Mikola
dc5163157c Add "mongodb" to url.wiki.crud entity
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340580 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-21 18:03:44 +00:00
Jeremy Mikola
e65b547e79 Document MongoDB\Driver\ReadConcern::LINEARIZABLE constant
https://jira.mongodb.org/browse/PHPC-777


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340579 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-21 17:26:08 +00:00
Jeremy Mikola
6f8f154f34 Fix linkend for MongoDB\Driver\ReadConcern::LOCAL
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340578 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-21 17:25:09 +00:00
Jeremy Mikola
244164d765 Fix character case in MongoDB\Driver\ReadConcern::getLevel() refname
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340577 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-21 17:20:37 +00:00
Jeremy Mikola
181cf13ba6 Remove unnecessary <para> wrapping from changelog entry
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340576 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-21 17:17:45 +00:00
Jeremy Mikola
a22b969063 Use non-empty $filter in MongoDB\Driver\Query example
https://jira.mongodb.org/browse/PHPC-525


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340574 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-21 15:44:20 +00:00
Jeremy Mikola
0205d3f11d Update MongoDB\Driver\Query options for 1.2.0
https://jira.mongodb.org/browse/PHPC-806


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340573 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-21 15:27:32 +00:00
Jeremy Mikola
1b63ce3ba8 MongoDB Query and BulkWrite update/delete "collation" option
https://jira.mongodb.org/browse/PHPC-807


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340566 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-19 17:58:12 +00:00
Jeremy Mikola
04ab390ca1 MongoDB\Driver\ReadPreference constructor $mode arg is an int
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339954 c90b9560-bf6c-de11-be94-00142212c4b1
2016-08-30 19:10:52 +00:00
Jeremy Mikola
a5da28f0e1 Clarify MongoDB\BSON\UTCDateTime::toDateTime() time zone
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339806 c90b9560-bf6c-de11-be94-00142212c4b1
2016-08-05 21:35:19 +00:00
Derick Rethans
5b5e59fffb Mention that this is the *MongoDB library*, and not the PHP 3 PHPLIB :-)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339682 c90b9560-bf6c-de11-be94-00142212c4b1
2016-07-20 17:16:08 +00:00
Derick Rethans
59fbea38eb Make sure to clone recursively.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339662 c90b9560-bf6c-de11-be94-00142212c4b1
2016-07-14 09:40:12 +00:00
Derick Rethans
356ad88cbd Update install instructions.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339655 c90b9560-bf6c-de11-be94-00142212c4b1
2016-07-13 14:38:43 +00:00
Jeremy Mikola
f939ff1250 Use example.com in MongoDB\Driver\Manager constructor examples
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339643 c90b9560-bf6c-de11-be94-00142212c4b1
2016-07-10 15:38:06 +00:00
Jeremy Mikola
658ff33bce PHPC-708: Fix structure and refs in MongoDB security articles
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339600 c90b9560-bf6c-de11-be94-00142212c4b1
2016-07-09 18:27:25 +00:00
Jeremy Mikola
0effe19af6 Fix title abbreviation for MongoDB BSON classes
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339599 c90b9560-bf6c-de11-be94-00142212c4b1
2016-07-09 18:12:26 +00:00
Jeremy Mikola
e0fb30d761 Update MongoDB::__construct() example for SSL and client cert
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339598 c90b9560-bf6c-de11-be94-00142212c4b1
2016-07-09 18:10:31 +00:00
Jeremy Mikola
56791338a6 PHPC-637: Revise notes on encoding MongoDB URI components
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339597 c90b9560-bf6c-de11-be94-00142212c4b1
2016-07-09 17:37:51 +00:00