Commit graph

150 commits

Author SHA1 Message Date
Jeremy Mikola
8c1c13de0d Restore documentation for MongoCollection index "background" option
This was inadvertently removed in http://svn.php.net/viewvc?view=revision&revision=333382


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335764 c90b9560-bf6c-de11-be94-00142212c4b1
2015-01-15 22:16:23 +00:00
Jeremy Mikola
452d71c53c Document read preference inheritance for MongoCommandCursor
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335763 c90b9560-bf6c-de11-be94-00142212c4b1
2015-01-15 21:55:38 +00:00
Jeremy Mikola
96ac68c599 Fix example output for MongoCollection::getIndexInfo()
The previous output looked nothing like var_dump(). The indexes are are comparable to those in the previous example, although there are some additional fields and I changed the geo-spatial index to "2dsphere".


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335757 c90b9560-bf6c-de11-be94-00142212c4b1
2015-01-15 16:24:54 +00:00
Jeremy Mikola
e39cacd755 Fix capitalization in MongoDB::command() links
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335348 c90b9560-bf6c-de11-be94-00142212c4b1
2014-12-23 21:46:07 +00:00
Jeremy Mikola
6c668086fa Fix discrepancy in MongoCollection::insert() changelog
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335239 c90b9560-bf6c-de11-be94-00142212c4b1
2014-12-02 18:28:01 +00:00
Jeremy Mikola
bdedce75e7 MongoCollection::save() never accepted non-array $options
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335238 c90b9560-bf6c-de11-be94-00142212c4b1
2014-12-02 18:24:10 +00:00
Jeremy Mikola
9e3918a89b Rename parameter for MongoCollection insert/save methods
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335237 c90b9560-bf6c-de11-be94-00142212c4b1
2014-12-02 18:19:58 +00:00
Derick Rethans
054dd025b7 Clarify here as well that we pass the options straight to the server.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335213 c90b9560-bf6c-de11-be94-00142212c4b1
2014-11-25 10:25:23 +00:00
Jeremy Mikola
13445ae645 Revise MongoWriteBatch::add() parameter docs
Rewrote argument descriptions and cross-referenced relevant update() and remove() parameters/options. Also clarified valid "limit" values for delete operations.

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


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335169 c90b9560-bf6c-de11-be94-00142212c4b1
2014-11-07 19:51:28 +00:00
Jeremy Mikola
dbdc52230d MongoCollection::count() now takes an $options array
https://jira.mongodb.org/browse/PHP-1160
https://jira.mongodb.org/browse/PHP-1263


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335161 c90b9560-bf6c-de11-be94-00142212c4b1
2014-11-05 21:15:09 +00:00
Jeremy Mikola
95f7837cdc MongoDB 2.8+ no longer supports "dropDups" index creation option
https://jira.mongodb.org/browse/PHP-1205


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335079 c90b9560-bf6c-de11-be94-00142212c4b1
2014-10-17 21:50:32 +00:00
Jeremy Mikola
22f2853d0b Make MongoCollection::save() 1.5 changelog consistent
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334972 c90b9560-bf6c-de11-be94-00142212c4b1
2014-09-23 15:36:42 +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
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