Jeremy Mikola
ae1355bad7
Clarify cursor/explain options for MongoCollection aggregate methods
...
https://jira.mongodb.org/browse/PHP-1054
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334360 c90b9560-bf6c-de11-be94-00142212c4b1
2014-07-22 19:19:50 +00:00
Jeremy Mikola
4148bc245c
Make see-also links consistent across MongoCollection index methods
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333624 c90b9560-bf6c-de11-be94-00142212c4b1
2014-05-28 15:37:34 +00:00
Jeremy Mikola
20c2e4631a
Rewrite MongoCollection::deleteIndex() documentation
...
https://jira.mongodb.org/browse/PHP-970
Attempted to clarify how string arguments are handled and touched up the code examples.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333623 c90b9560-bf6c-de11-be94-00142212c4b1
2014-05-28 15:36:49 +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
30ed36d66f
Revise MongoCollection ensure/createIndex docs
...
Documented options for MongoDB 2.6 and earlier versions and clarified how methods operate with each database version. Also updated write concern snippets for consistent language.
https://jira.mongodb.org/browse/PHP-1078
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333382 c90b9560-bf6c-de11-be94-00142212c4b1
2014-04-21 18:07:38 +00:00
Jeremy Mikola
350e29c7e3
Revise argument docs for MongoCollection update/remove methods
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333379 c90b9560-bf6c-de11-be94-00142212c4b1
2014-04-18 23:14:32 +00:00
Jeremy Mikola
4daa8ece2f
Revise MongoCollection write options and add missing changelog entries
...
https://jira.mongodb.org/browse/PHP-1076
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333378 c90b9560-bf6c-de11-be94-00142212c4b1
2014-04-18 22:37:43 +00:00
Derick Rethans
8e5a91bf87
PHP-1043: Document parallelCollectionScan
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333361 c90b9560-bf6c-de11-be94-00142212c4b1
2014-04-17 12:37:40 +00:00
Jeremy Mikola
4fc4e25cbd
Document MongoDB maxTimeMS command/query option
...
Also expanded upon aggregate command options.
https://jira.mongodb.org/browse/PHP-1023
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333265 c90b9560-bf6c-de11-be94-00142212c4b1
2014-04-04 22:19:19 +00:00
Derick Rethans
9b37dae75f
PHP-1043: Update after MongoCommandCursor and aggregateCursor changes.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333246 c90b9560-bf6c-de11-be94-00142212c4b1
2014-04-02 15:52:36 +00:00
Hannes Magnusson
f1759a0d8c
Update proto for 1.5.0 changes. Tweak example a bit & add a new one for explain
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333130 c90b9560-bf6c-de11-be94-00142212c4b1
2014-03-26 21:21:51 +00:00
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