Commit graph

126 commits

Author SHA1 Message Date
Derick Rethans
e7e7f8d5e5 Fixed PHP-1006 and PHP-1016: createIndex/ensureIndex changes.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333037 c90b9560-bf6c-de11-be94-00142212c4b1
2014-03-19 15:18:15 +00:00
Hannes Magnusson
21a0b5257d Thaaaaats way the build worked fine after adding MongoWriteBatch - I forgot to enable it!
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332994 c90b9560-bf6c-de11-be94-00142212c4b1
2014-03-14 20:46:29 +00:00
Hannes Magnusson
e4dc084ee7 Fix build
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332993 c90b9560-bf6c-de11-be94-00142212c4b1
2014-03-14 20:45:29 +00:00
Hannes Magnusson
e935ecce8f Missing linkend
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332992 c90b9560-bf6c-de11-be94-00142212c4b1
2014-03-14 20:27:21 +00:00
Derick Rethans
8e0e8cb662 Document MongoCommandCursor.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332991 c90b9560-bf6c-de11-be94-00142212c4b1
2014-03-14 17:56:11 +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
Derick Rethans
cb5b7284fe Bunch of little tiny doc updates and fixes.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332947 c90b9560-bf6c-de11-be94-00142212c4b1
2014-03-10 15:03:19 +00:00
Jakub Vrana
884d669813 Fix typo in comment
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332598 c90b9560-bf6c-de11-be94-00142212c4b1
2014-01-12 03:56:09 +00:00
Chris Wright
5206bce972 Typo fixes in MongoCollection
---
Provided by Tom A-r

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332331 c90b9560-bf6c-de11-be94-00142212c4b1
2013-12-10 11:29:14 +00:00
Joe Watkins
189554191c #65487 remove duplicate information
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331653 c90b9560-bf6c-de11-be94-00142212c4b1
2013-10-03 06:06:49 +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
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
Jeremy Mikola
0a7509b835 MongoCollection::deleteIndex() returns a database response
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330878 c90b9560-bf6c-de11-be94-00142212c4b1
2013-07-10 17:34:18 +00:00
Hannes Magnusson
e61e6e8a7d Fix return type
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330629 c90b9560-bf6c-de11-be94-00142212c4b1
2013-06-24 19:11:24 +00:00
Derick Rethans
a21bbcd977 Move history to the changelog.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330305 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-20 18:36:35 +00:00
Derick Rethans
e354213395 Fixed PHP-789: Document fsync, j, and wtimeout options for MongoCollection write operations.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330300 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-20 17:16:05 +00:00
Jakub Vrana
c5333caf49 Fix typo in ok description (bug #61304)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330280 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-18 00:12:13 +00:00
Derick Rethans
c930cbb897 PHP-536: Clarify that continueOnError Flag does not insert valid docs when an invalid doc exists in the batch
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330189 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-08 14:11:52 +00:00
Hannes Magnusson
9aa2442769 Fixed bug#63091 MongoCollection::group() example needs updating
# Thanks fhagard at lightcube dot us !


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329620 c90b9560-bf6c-de11-be94-00142212c4b1
2013-03-03 00:18:49 +00:00
Jeremy Mikola
cde9b9b8ee Fix terms in MongoCollection::ensureIndex() return doc
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329342 c90b9560-bf6c-de11-be94-00142212c4b1
2013-01-29 16:10:27 +00:00
Jeremy Mikola
4e4d8d2006 Document non-boolean return values for MongoCollection::ensureIndex()
https://jira.mongodb.org/browse/PHP-671


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329341 c90b9560-bf6c-de11-be94-00142212c4b1
2013-01-29 16:09:29 +00:00
Jeremy Mikola
f81e6a03d2 Fix MongoCollection::getIndexInfo() return and example docs
https://jira.mongodb.org/browse/PHP-670


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329340 c90b9560-bf6c-de11-be94-00142212c4b1
2013-01-29 16:03:18 +00:00
Philip Olson
04b11e621f Fixed spelling
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329325 c90b9560-bf6c-de11-be94-00142212c4b1
2013-01-29 01:47:09 +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
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
Jeremy Mikola
6f59b9c6a9 Document _id generation in MongoCollection insert/save methods
https://jira.mongodb.org/browse/PHP-383


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329040 c90b9560-bf6c-de11-be94-00142212c4b1
2013-01-08 23:01:23 +00:00
Jeremy Mikola
2a331a3820 Note that MongoDB GLE will report n=0 for insertions
https://jira.mongodb.org/browse/PHP-620


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329038 c90b9560-bf6c-de11-be94-00142212c4b1
2013-01-08 21:28:08 +00:00
Paul Reinheimer
6ad7dd65d2 - Adding a basic search example, as well as searching for a child item.
Rationale: I was helping a friend yesterday who is Learning MongoDB while they learn how to use the PHP Extension to it. They ended up trying to write a javascript based query to do a simple matching query. I hope these more simplistic examples will help people in that situation.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328711 c90b9560-bf6c-de11-be94-00142212c4b1
2012-12-08 16:23:32 +00:00
Hannes Magnusson
48e1717a75 Mention we populate the _id field with the pregenerated ID
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328551 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-29 00:51:28 +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
ec6cb30f0e Make the role=errors section consistent for all write methods
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328545 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-28 20:33:41 +00:00
Hannes Magnusson
e7dbde68a1 More WriteConcern updates
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328544 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-28 20:18:45 +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
Hannes Magnusson
206dda18e9 Document MongoCollection->findAndModify()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328209 c90b9560-bf6c-de11-be94-00142212c4b1
2012-10-31 23:49:20 +00:00
Hannes Magnusson
24e0d9472e Last minute changes in the return document :]
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328207 c90b9560-bf6c-de11-be94-00142212c4b1
2012-10-31 19:08:56 +00:00
Yannick Torres
38e3798be2 Typo found by online editor user
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328184 c90b9560-bf6c-de11-be94-00142212c4b1
2012-10-29 15:25:28 +00:00
Jeremy Mikola
1a5e05754b Fix return/error docs for MongoCollection insert, update, and remove
https://jira.mongodb.org/browse/PHP-500


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@327927 c90b9560-bf6c-de11-be94-00142212c4b1
2012-10-08 04:44:54 +00:00
Jeremy Mikola
83e9d2196e Clarify criteria/new_object merging for Mongo upserts
https://jira.mongodb.org/browse/PHP-459


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@327890 c90b9560-bf6c-de11-be94-00142212c4b1
2012-10-05 20:49:53 +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
Jeremy Mikola
b397091f0d Document sparse and expireAfterSeconds Mongo index options
https://bugs.php.net/bug.php?id=63183
https://jira.mongodb.org/browse/PHP-516


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@327869 c90b9560-bf6c-de11-be94-00142212c4b1
2012-10-03 21:35:45 +00:00
Jeremy Mikola
0da49ccb6d Revise arg names in MongoCollection::aggregate()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@327601 c90b9560-bf6c-de11-be94-00142212c4b1
2012-09-10 22:05:37 +00:00
Hannes Magnusson
7a260cda95 Remove extra >, and lets not drop the collection in case people copy&paste this :)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@327480 c90b9560-bf6c-de11-be94-00142212c4b1
2012-09-05 12:20:49 +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
79fe4688e8 More examples for MongoCollection::aggregate() and a typo fix
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@327467 c90b9560-bf6c-de11-be94-00142212c4b1
2012-09-04 15:30:40 +00:00
Hannes Magnusson
2365c0c368 Syntax highlighting and fix typo in example
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@327466 c90b9560-bf6c-de11-be94-00142212c4b1
2012-09-04 12:47:49 +00:00
Hannes Magnusson
1c964dfab8 Document new mehtod in 1.3.0 MongoCollection::aggregate()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@327444 c90b9560-bf6c-de11-be94-00142212c4b1
2012-09-03 13:36:34 +00:00