Commit graph

84 commits

Author SHA1 Message Date
Derick Rethans
6a16b3eb24 PHP-1477: Deprecate eval helpers
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337690 c90b9560-bf6c-de11-be94-00142212c4b1
2015-09-01 10:08:47 +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
Jeremy Mikola
30eb8053bc Mention that eval command is deprecated in MongoDB 3.0+
https://jira.mongodb.org/browse/PHP-1409


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336071 c90b9560-bf6c-de11-be94-00142212c4b1
2015-03-13 00:28:17 +00:00
Jeremy Mikola
119a7f907b Fix code and link to eval command for MongoDB::execute()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336070 c90b9560-bf6c-de11-be94-00142212c4b1
2015-03-13 00:27:37 +00:00
Jeremy Mikola
7d5e3a55d9 Remove broken links in MongoDB::command() docs
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335986 c90b9560-bf6c-de11-be94-00142212c4b1
2015-02-23 23:45:27 +00:00
Jeremy Mikola
2fba051b83 Update example output for MongoDB::getCollectionInfo()
This returns a numerically indexed array and collection names do not include the namespace prefix.

https://jira.mongodb.org/browse/PHP-1376
https://jira.mongodb.org/browse/PHP-1378


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335756 c90b9560-bf6c-de11-be94-00142212c4b1
2015-01-15 16:22:40 +00:00
Jeremy Mikola
54cf5f9e3f Revise docs for MongoDB collection enumeration methods
These methods now take an options array in 1.6+. Additionally, this fixes the description of getCollectionInfo().

https://jira.mongodb.org/browse/PHP-1318


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335744 c90b9560-bf6c-de11-be94-00142212c4b1
2015-01-14 15:29:05 +00:00
Jeremy Mikola
fda62fbc6e Remove full text search example from MongoDB::command() docs
This example is obsolete. The text command was experimental in 2.4 and deprecated in favor of the $text query operator in 2.6.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335738 c90b9560-bf6c-de11-be94-00142212c4b1
2015-01-13 21:00:46 +00:00
Jeremy Mikola
da1b439fc9 Document MongoDB::command() $hash by-reference parameter
https://jira.mongodb.org/browse/PHP-1330


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335737 c90b9560-bf6c-de11-be94-00142212c4b1
2015-01-13 20:58:06 +00:00
Derick Rethans
87344fb9db Document MongoDB::getCollectionInfo.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335314 c90b9560-bf6c-de11-be94-00142212c4b1
2014-12-19 15:53:55 +00:00
Tjerk Anne Meesters
60e8e031cf Fixed error in reference link
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335215 c90b9560-bf6c-de11-be94-00142212c4b1
2014-11-25 23:25:24 +00:00
Derick Rethans
9e364cb1a9 Fixed docs to say we pass in all raw options to the server.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335212 c90b9560-bf6c-de11-be94-00142212c4b1
2014-11-25 10:22:02 +00:00
Jeremy Mikola
0e0f965045 Document socketTimeoutMS for MongoDB::command()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334971 c90b9560-bf6c-de11-be94-00142212c4b1
2014-09-23 15:33:02 +00:00
Richard Quadling
cb2e7b70b1 svn:keywords, svn:eol-style, svn:ignore all set appropriately.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334955 c90b9560-bf6c-de11-be94-00142212c4b1
2014-09-23 12:08:23 +00:00
Derick Rethans
5da46a59d6 Integrate note for nicer formatting.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334841 c90b9560-bf6c-de11-be94-00142212c4b1
2014-09-11 11:53:57 +00:00
Derick Rethans
6133457550 Changed example to be non-destructive.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334840 c90b9560-bf6c-de11-be94-00142212c4b1
2014-09-11 11:50:19 +00:00
Philip Olson
0aa774414a Removed removed duplicated duplicated words words
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333548 c90b9560-bf6c-de11-be94-00142212c4b1
2014-05-16 20:12:19 +00:00
Jeremy Mikola
72ba9f1f10 Cross-reference MongoDB get/setReadPreference methods
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332955 c90b9560-bf6c-de11-be94-00142212c4b1
2014-03-11 17:40:18 +00:00
Jeremy Mikola
bfb93b970b Document MongoDB get/setWriteConcern methods
https://jira.mongodb.org/browse/PHP-842


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332954 c90b9560-bf6c-de11-be94-00142212c4b1
2014-03-11 17:35:54 +00:00
Jeremy Mikola
0f6fa16323 Update links to MongoDB documentation
Also renamed repairDatabase entity and created a new entity for batchSize documentation.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332247 c90b9560-bf6c-de11-be94-00142212c4b1
2013-12-03 17:36:24 +00:00
Jeremy Mikola
88fb3e60e4 Clarify doc/id param resolution for MongoCollection/DB::createDBRef()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331115 c90b9560-bf6c-de11-be94-00142212c4b1
2013-08-12 18:55:16 +00:00
Jakub Vrana
746d7a4758 Update example
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331063 c90b9560-bf6c-de11-be94-00142212c4b1
2013-08-06 00:03:36 +00:00
Jakub Vrana
fa909446a4 Fix typos in examples and add trailing ?>
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331062 c90b9560-bf6c-de11-be94-00142212c4b1
2013-08-05 19:18:51 +00:00
Jakub Vrana
80e082a92a Fix typo in example
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331061 c90b9560-bf6c-de11-be94-00142212c4b1
2013-08-05 19:08:39 +00:00
Jakub Vrana
8063203467 Fix typo in example
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331060 c90b9560-bf6c-de11-be94-00142212c4b1
2013-08-05 19:06:04 +00:00
Hannes Magnusson
1d2c0b9b9e link set and get profiling and fix the seealso
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331036 c90b9560-bf6c-de11-be94-00142212c4b1
2013-07-30 06:39:35 +00:00
Derick Rethans
e9d4e36814 PHP-702: Support the autoIndexId option for createCollection
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330136 c90b9560-bf6c-de11-be94-00142212c4b1
2013-04-23 09:27:56 +00:00
Derick Rethans
a174aaabf4 PHP-496: Added a few examples to MongoDB::command() and clarified result structures.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330129 c90b9560-bf6c-de11-be94-00142212c4b1
2013-04-22 14:47:30 +00:00
Derick Rethans
87726efe34 Fixed typoes and grammar, and added see-also sections.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329381 c90b9560-bf6c-de11-be94-00142212c4b1
2013-01-31 14:45:04 +00:00
Jeremy Mikola
ff6aa0c781 Update Mongo get/setReadPreference return values and error docs
https://jira.mongodb.org/browse/PHP-669


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329318 c90b9560-bf6c-de11-be94-00142212c4b1
2013-01-28 23:36:42 +00:00
Jeremy Mikola
3fd5468aa7 Make Mongo db/collection select method docs consistent
A vanilla Exception is thrown instead of InvalidArgumentException.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329315 c90b9560-bf6c-de11-be94-00142212c4b1
2013-01-28 19:47:52 +00:00
Jeremy Mikola
88959cefb9 Update Mongo read preference methods for 1.3.3 release
Fix parameter type for setReadPreference() methods, document getReadPreference() return value changes, and update version info for MongoCursor methods.

https://jira.mongodb.org/browse/PHP-666


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329170 c90b9560-bf6c-de11-be94-00142212c4b1
2013-01-16 21:36:10 +00:00
Hannes Magnusson
8bbdbb8d6b More ReadPreference love rather then slaveokay
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328550 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-29 00:16:49 +00:00
Hannes Magnusson
26b9276e07 - Update some examples and paragraphs to use WriteConcerns
- Update all options to include the WriteConcern option - and refactored those options into entities


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328543 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-28 19:31:57 +00:00
Jeremy Mikola
8a4640c71c Revise replica set language and MongoClient references
Replace master/slave terminology with primary/secondary
Change most Mongo class references to MongoClient
Enforce 80-char line widths and trim trailing whitespace
Add literal formatting within some paragraphs

https://jira.mongodb.org/browse/PHP-583


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328496 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-26 03:07:28 +00:00
Adam Harvey
0781a3dbbf Fix incorrect type in example, per notes 105834 and 110529.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328236 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-05 03:04:32 +00:00
Jeremy Mikola
2983ed9c50 Use reverse chronological order for Mongo changelogs
https://jira.mongodb.org/browse/PHP-499


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@327889 c90b9560-bf6c-de11-be94-00142212c4b1
2012-10-05 20:22:15 +00:00
Hannes Magnusson
ad4ad52385 Fix syntax
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@327604 c90b9560-bf6c-de11-be94-00142212c4b1
2012-09-11 10:16:31 +00:00
Jeremy Mikola
9e18466c86 Use methodname tag and entities within Mongo read preference docs
https://jira.mongodb.org/browse/PHP-474


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@327470 c90b9560-bf6c-de11-be94-00142212c4b1
2012-09-04 18:35:02 +00:00
Jeremy Mikola
3fb8222fa7 Fix type docs for Mongo driver read preference constants
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@327469 c90b9560-bf6c-de11-be94-00142212c4b1
2012-09-04 17:47:05 +00:00
Jeremy Mikola
b8bef8d378 Document MongoDB driver read preferences
https://jira.mongodb.org/browse/PHP-474


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@327468 c90b9560-bf6c-de11-be94-00142212c4b1
2012-09-04 15:55:54 +00:00
Hannes Magnusson
46e6209a56 New argument & similar function
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@326921 c90b9560-bf6c-de11-be94-00142212c4b1
2012-08-01 11:33:44 +00:00
Hannes Magnusson
c90424bc60 Deprecate whole lot of things
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@326702 c90b9560-bf6c-de11-be94-00142212c4b1
2012-07-19 16:57:19 +00:00
Jakub Vrana
301b1ab0e8 No markup in <refname>
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@322195 c90b9560-bf6c-de11-be94-00142212c4b1
2012-01-13 11:51:28 +00:00
Jakub Vrana
d8b968e63c Document public constructors
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@321901 c90b9560-bf6c-de11-be94-00142212c4b1
2012-01-08 05:33:58 +00:00
Derick Rethans
b290e3e418 Added another example to show that you can also pass in a query with distinct.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@319248 c90b9560-bf6c-de11-be94-00142212c4b1
2011-11-15 13:07:47 +00:00
Derick Rethans
663a8c56cc Documented the options (well, the only one: timeout) for MongoDB::command().
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@318988 c90b9560-bf6c-de11-be94-00142212c4b1
2011-11-10 11:02:23 +00:00
Jakub Vrana
3b6540c7b9 Fix protos
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@313238 c90b9560-bf6c-de11-be94-00142212c4b1
2011-07-14 12:01:22 +00:00
Kristina Chodorow
7acae97626 Added explanation of weird mongod js parsing behavior
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@313177 c90b9560-bf6c-de11-be94-00142212c4b1
2011-07-12 15:25:42 +00:00
Kristina Chodorow
53ed52ed22 added out option
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@310025 c90b9560-bf6c-de11-be94-00142212c4b1
2011-04-07 21:42:59 +00:00