Commit graph

354 commits

Author SHA1 Message Date
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
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
Jeremy Mikola
1c818c8c51 Fix arg type for MongoDB\Driver\WriteConcern constructor
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339578 c90b9560-bf6c-de11-be94-00142212c4b1
2016-07-06 14:59:22 +00:00
Jeremy Mikola
812a7a3a55 Add syntax highlighting to BSON persistence articles
https://jira.mongodb.org/browse/PHPC-486


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339468 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-23 21:54:22 +00:00
Jeremy Mikola
c8f44705c2 MongoDB\Driver\WriteResult::getInfo() does not exist
This method was removed before the 1.0.0 release and should not be documented.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339449 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-22 12:00:51 +00:00
Christoph Michael Becker
cca99e0441 Fix broken build
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339352 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-14 17:19:32 +00:00
Derick Rethans
efd633bcbb PHPV-709: Port security manual from mongo to mongodb.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339344 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-14 12:08:00 +00:00
Derick Rethans
5485b48982 Added an example for SSL and a certificate.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339268 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-02 10:12:41 +00:00
Christoph Michael Becker
44635bde19 typo fixes by anon users
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339240 c90b9560-bf6c-de11-be94-00142212c4b1
2016-05-30 13:59:33 +00:00
Derick Rethans
3efd20a21b PHPC-637: Remind users that connection URIs should be encoded
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339161 c90b9560-bf6c-de11-be94-00142212c4b1
2016-05-10 20:13:41 +00:00
Jeremy Mikola
6d0fa6a696 Fix MongoDB\Driver\Server::executeQuery() method name
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339106 c90b9560-bf6c-de11-be94-00142212c4b1
2016-04-28 04:26:27 +00:00
Jeremy Mikola
4e9be3169f MongoDB\Driver\BulkWrite::count() return value changes in 1.2.0
https://jira.mongodb.org/browse/PHPC-680


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339104 c90b9560-bf6c-de11-be94-00142212c4b1
2016-04-27 19:34:44 +00:00
Jeremy Mikola
33b5fa85d3 Document MongoDB\Driver\Server type constants
https://jira.mongodb.org/browse/PHPC-530


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339042 c90b9560-bf6c-de11-be94-00142212c4b1
2016-04-20 20:57:06 +00:00
Derick Rethans
872188aed0 Add IDs so that we can refer to them through HTML anchors.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338779 c90b9560-bf6c-de11-be94-00142212c4b1
2016-03-20 15:31:40 +00:00
Thomas Punt
c499040447 Resolve doc bug #71716
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338698 c90b9560-bf6c-de11-be94-00142212c4b1
2016-03-09 13:37:57 +00:00
Derick Rethans
f153fb9e94 Fixed error in example.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338661 c90b9560-bf6c-de11-be94-00142212c4b1
2016-02-24 15:15:21 +00:00
Jeremy Mikola
59aea220b6 Note best practices for BSON (un)serialization interfaces
https://jira.mongodb.org/browse/PHPC-549


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338656 c90b9560-bf6c-de11-be94-00142212c4b1
2016-02-23 21:34:56 +00:00
Jeremy Mikola
bcf5e0bc8f Document MongoDB\Driver\Query readConcern option
https://jira.mongodb.org/browse/PHPC-559


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338600 c90b9560-bf6c-de11-be94-00142212c4b1
2016-02-12 20:18:08 +00:00
Jeremy Mikola
ce561f7c4c Alphabetize MongoDB\Driver\Query constructor options
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338599 c90b9560-bf6c-de11-be94-00142212c4b1
2016-02-12 20:13:41 +00:00
Jeremy Mikola
99df62f88e Remove section IDs so HHVM tutorial is a single page
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338538 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-25 18:52:08 +00:00
Jeremy Mikola
c718200b27 Update configure and tutorial docs for ext-mongodb and library
https://jira.mongodb.org/browse/PHPC-468


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338537 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-24 05:09:52 +00:00
Jeremy Mikola
ef0c6d581b Clarify pattern/flags for MongoDB\BSON\Regex
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338408 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-06 17:50:41 +00:00
Jeremy Mikola
bac528da61 Fix missing version info in MongoDB driver docs
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338289 c90b9560-bf6c-de11-be94-00142212c4b1
2015-12-17 22:00:27 +00:00
Jeremy Mikola
a693a9fddb Fix method references in MongoDB driver docs
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338288 c90b9560-bf6c-de11-be94-00142212c4b1
2015-12-17 22:00:06 +00:00
Jeremy Mikola
dedcfce805 Update BSON docs for MongoDB driver
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338287 c90b9560-bf6c-de11-be94-00142212c4b1
2015-12-17 21:57:19 +00:00
Jeremy Mikola
3e6f86b5bd ReadConcern, ReadPreference, and WriteConcern for MongoDB
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338263 c90b9560-bf6c-de11-be94-00142212c4b1
2015-12-16 01:12:59 +00:00
Jeremy Mikola
c58fa5a61d Update MongoDB driver architecture diagram
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338182 c90b9560-bf6c-de11-be94-00142212c4b1
2015-11-25 16:22:12 +00:00
Derick Rethans
e32ae6fcf4 Added architecture overview article.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338133 c90b9560-bf6c-de11-be94-00142212c4b1
2015-11-16 12:29:43 +00:00
Jeremy Mikola
5393e17e3a Reference BSON date type in UTCDateTime description
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338115 c90b9560-bf6c-de11-be94-00142212c4b1
2015-11-11 21:27:20 +00:00
Jeremy Mikola
6b1e9bdf01 Don't capitalize our class name in descriptions
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338114 c90b9560-bf6c-de11-be94-00142212c4b1
2015-11-11 21:26:42 +00:00
Jeremy Mikola
2ca831ddd8 Bump MongoDB\Driver class/method versions to >=1.0.0
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338113 c90b9560-bf6c-de11-be94-00142212c4b1
2015-11-11 21:20:22 +00:00
Jeremy Mikola
dcfd0933c0 Update MongoDB\Driver\Manager and Server docs
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338112 c90b9560-bf6c-de11-be94-00142212c4b1
2015-11-11 21:17:47 +00:00
Derick Rethans
16995ef64b Make use of "make configlib" in minimal install instructions.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338111 c90b9560-bf6c-de11-be94-00142212c4b1
2015-11-11 18:51:47 +00:00
Jeremy Mikola
213e4306fb MongoDB\BSON\fromPHP() and toPHP() should refer to persistence article
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338108 c90b9560-bf6c-de11-be94-00142212c4b1
2015-11-10 21:15:10 +00:00
Jeremy Mikola
7d88708b86 Update MongoDB\Driver\Cursor method docs
Also adds an entity for the typeMap parameter, since we share that with MongoDB\BSON\toPHP().


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338107 c90b9560-bf6c-de11-be94-00142212c4b1
2015-11-10 21:14:30 +00:00
Jeremy Mikola
96a83dfde6 Update some MongoDB\Driver method purposes
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338106 c90b9560-bf6c-de11-be94-00142212c4b1
2015-11-10 21:11:55 +00:00
Jeremy Mikola
1e20c5e22d Update MongoDB\Driver\CursorId docs
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338105 c90b9560-bf6c-de11-be94-00142212c4b1
2015-11-10 21:10:46 +00:00
Jeremy Mikola
d53de72fe7 MongoDB\BSON\fromJSON() and toJSON() throw on error
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338104 c90b9560-bf6c-de11-be94-00142212c4b1
2015-11-10 20:52:44 +00:00
Jeremy Mikola
83ea6bb48a Revise MongoDB\Driver\Cursor getId() and getServer() docs
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338087 c90b9560-bf6c-de11-be94-00142212c4b1
2015-11-04 19:55:44 +00:00
Jeremy Mikola
e8cbc4f8f6 MongoDB\Driver\Cursor::__construct() is private
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338086 c90b9560-bf6c-de11-be94-00142212c4b1
2015-11-04 19:54:56 +00:00
Hannes Magnusson
ec6879325f Its called mongodb.debug - not mongodb.debug_log now
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338075 c90b9560-bf6c-de11-be94-00142212c4b1
2015-11-03 05:23:59 +00:00
Jeremy Mikola
898b3418ea Update doc IDs for MongoDB\Driver\BulkWrite methods
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338070 c90b9560-bf6c-de11-be94-00142212c4b1
2015-11-02 21:07:07 +00:00
Jeremy Mikola
fde2c4f052 Fix MongoDB\Driver\Manager::executeBulkWrite() doc ID
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338069 c90b9560-bf6c-de11-be94-00142212c4b1
2015-11-02 21:04:48 +00:00
Jeremy Mikola
e09bcd8624 Update MongoDB\Driver\BulkWrite documentation
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338061 c90b9560-bf6c-de11-be94-00142212c4b1
2015-10-30 20:34:07 +00:00
Jeremy Mikola
03760a2565 Update MongoDB\BSON serializable interfaces
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338057 c90b9560-bf6c-de11-be94-00142212c4b1
2015-10-29 22:38:16 +00:00
Jeremy Mikola
0468106d4f Update version info for MongoDB\BSON classes
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338053 c90b9560-bf6c-de11-be94-00142212c4b1
2015-10-29 17:47:13 +00:00
Jeremy Mikola
f7b1a3b50f Updated docs for MongoDB\BSON functions
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338047 c90b9560-bf6c-de11-be94-00142212c4b1
2015-10-29 03:27:58 +00:00
Jeremy Mikola
95ae6e2ac9 Revise MongoDB\Driver and MongoDB\Driver\BSON titles
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338045 c90b9560-bf6c-de11-be94-00142212c4b1
2015-10-28 20:00:53 +00:00
Jeremy Mikola
119da3b8a9 Update MongoDB exceptions classes for 1.0.0
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338043 c90b9560-bf6c-de11-be94-00142212c4b1
2015-10-28 19:58:11 +00:00
Jeremy Mikola
94497ce78a Revise MongoDB set introduction
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338042 c90b9560-bf6c-de11-be94-00142212c4b1
2015-10-28 17:58:39 +00:00
Jeremy Mikola
533fa5a5c4 Revise MongoDB HHVM tutorial
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338039 c90b9560-bf6c-de11-be94-00142212c4b1
2015-10-27 23:28:48 +00:00
Derick Rethans
3a01997da5 Added a tutorial (from .rst), reorganised docs, and provided some introductionary material.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338017 c90b9560-bf6c-de11-be94-00142212c4b1
2015-10-22 10:14:11 +00:00
Derick Rethans
9fe7528a03 functionname -> function
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338005 c90b9560-bf6c-de11-be94-00142212c4b1
2015-10-19 17:05:38 +00:00
Derick Rethans
47d9aeda69 Added new driver persistence logic as a new page
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338004 c90b9560-bf6c-de11-be94-00142212c4b1
2015-10-19 15:55:05 +00:00
Derick Rethans
c47299bd48 Moved BSON class names to MongoDB\BSON, and added a few install tips and tricks.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337902 c90b9560-bf6c-de11-be94-00142212c4b1
2015-09-23 15:35:13 +00:00
Simion Onea
7050d96265 Corrected/added SVN properties, especially svn:keywords.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337516 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-17 15:27:48 +00:00
Hannes Magnusson
b0dc55fed2 This is supposed to showcase unordered bulkwrites
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337119 c90b9560-bf6c-de11-be94-00142212c4b1
2015-07-07 18:31:43 +00:00
Jeremy Mikola
a6a2a9599c Fix MongoDB\Driver\Query option name
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336995 c90b9560-bf6c-de11-be94-00142212c4b1
2015-06-18 02:56:15 +00:00
Derick Rethans
5f9ee1e866 Add better descriptions to show what is what.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336619 c90b9560-bf6c-de11-be94-00142212c4b1
2015-04-22 16:59:57 +00:00
Hannes Magnusson
abd7090ba6 Be consistent with the command itself -- its called multi
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336536 c90b9560-bf6c-de11-be94-00142212c4b1
2015-04-14 22:20:56 +00:00
Hannes Magnusson
ecfc154358 These are BSON functions, not MongoDB
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336523 c90b9560-bf6c-de11-be94-00142212c4b1
2015-04-13 19:06:57 +00:00
Hannes Magnusson
b82fe571d2 Document Manger->selectServer()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336522 c90b9560-bf6c-de11-be94-00142212c4b1
2015-04-13 19:01:12 +00:00
Jeremy Mikola
82607a90f7 Traversable MongoDB\Driver\Cursor replaces Result class
As of 0.4, the Result and Cursor classes, which were IteratorAggregate and Iterator, respectively, are consolidated into a single, Traversable Cursor class.

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


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336451 c90b9560-bf6c-de11-be94-00142212c4b1
2015-04-08 05:26:48 +00:00
Jeremy Mikola
540baa98c2 Fix typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336450 c90b9560-bf6c-de11-be94-00142212c4b1
2015-04-08 05:04:46 +00:00
Jeremy Mikola
046fee4c67 Fix capitalization on WriteResult::getWriteConcernError()
https://jira.mongodb.org/browse/PHPC-232


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336441 c90b9560-bf6c-de11-be94-00142212c4b1
2015-04-07 20:45:02 +00:00
Yannick Torres
20e3046af3 Fix svn keywords
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336263 c90b9560-bf6c-de11-be94-00142212c4b1
2015-03-30 12:56:33 +00:00
Peter Cowburn
529c2e24a3 fix travis build
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336202 c90b9560-bf6c-de11-be94-00142212c4b1
2015-03-26 12:02:29 +00:00
Hannes Magnusson
8958abfe6c Initial docs for pecl/mongodb
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336188 c90b9560-bf6c-de11-be94-00142212c4b1
2015-03-24 18:15:02 +00:00