Commit graph

601 commits

Author SHA1 Message Date
Christoph Michael Becker
e6ea4d8d68 fixed broken/incorrect links
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338676 c90b9560-bf6c-de11-be94-00142212c4b1
2016-03-03 08:44:35 +00:00
Christoph Michael Becker
8badde79fe fixed broken links
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338670 c90b9560-bf6c-de11-be94-00142212c4b1
2016-03-01 13:13:43 +00:00
Derick Rethans
d21cb82dcf #128: how can I select DB and authenticate
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338649 c90b9560-bf6c-de11-be94-00142212c4b1
2016-02-22 16:53:35 +00:00
Derick Rethans
6a7cbbb5bb Convert DOS to Unix line endings
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338646 c90b9560-bf6c-de11-be94-00142212c4b1
2016-02-22 12:36:45 +00:00
Derick Rethans
c613a7e2f1 PHPC-583: Document alternatives for legacy driver's types
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338645 c90b9560-bf6c-de11-be94-00142212c4b1
2016-02-22 12:36:13 +00:00
Jeremy Mikola
f6242b02c7 Fix typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338535 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-22 23:09:55 +00:00
Jeremy Mikola
70733ff323 Fix <section> nesting in mongo extension install docs
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338534 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-22 21:47:05 +00:00
Christoph Michael Becker
2d13c47787 typo fix by Philippe Signoret
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338510 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-15 18:13:01 +00:00
Derick Rethans
b2357fc62a Added deprecation notices and alternatives for the MongoClient class.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338152 c90b9560-bf6c-de11-be94-00142212c4b1
2015-11-19 13:46:44 +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
Jeremy Mikola
42238e5d20 Update docs on persistent connections in mongo 1.3+
https://jira.mongodb.org/browse/PHP-1480


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337734 c90b9560-bf6c-de11-be94-00142212c4b1
2015-09-03 20:05:28 +00:00
Jeremy Mikola
7c4dc1fde3 Update Windows download link for mongo extension to PECL
https://jira.mongodb.org/browse/PHP-1479


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337733 c90b9560-bf6c-de11-be94-00142212c4b1
2015-09-03 19:16:43 +00:00
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
2695aaaa20 MongoGridFS::storeFile() supports a stream argument
https://jira.mongodb.org/browse/PHP-1447


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336874 c90b9560-bf6c-de11-be94-00142212c4b1
2015-06-04 21:12:35 +00:00
Peter Cowburn
ee56bc9e39 MongoDate::toDateTime() returns DateTime (patch by cmb, doc bug #69519)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336640 c90b9560-bf6c-de11-be94-00142212c4b1
2015-04-24 09:15:06 +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
b1ab1b1840 Improve SSL docs
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336106 c90b9560-bf6c-de11-be94-00142212c4b1
2015-03-19 19:12: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
cb0077d0d5 MongoID constructor accepts a MongoId instance
https://jira.mongodb.org/browse/PHP-966


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335992 c90b9560-bf6c-de11-be94-00142212c4b1
2015-02-24 20:09:31 +00:00
Jeremy Mikola
7070675e39 Update third-party links on MongoDB install docs
Removed two broken links and an outdated blog post. Added a very helpful blog post on Homebrew installs (includes the extension), and kept a video tutorial (outdated, but thorough).

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


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335991 c90b9560-bf6c-de11-be94-00142212c4b1
2015-02-24 19:58:44 +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
20ae297808 Update supported PHP versions in mongo install docs
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335985 c90b9560-bf6c-de11-be94-00142212c4b1
2015-02-23 23:41:51 +00:00
Jeremy Mikola
7a7aafc90c Revise mongo install docs for OS X
https://jira.mongodb.org/browse/PHP-1373


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335984 c90b9560-bf6c-de11-be94-00142212c4b1
2015-02-23 23:39:37 +00:00
Jeremy Mikola
a73621ab6b Fix return type for MongoGridFSFile::getResource()
https://jira.mongodb.org/browse/PHP-1383


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335969 c90b9560-bf6c-de11-be94-00142212c4b1
2015-02-20 21:53:04 +00:00
Derick Rethans
e6d4ddaa94 PHP-1387: Fixed missing version info for MongoCursor::doQuery and MongoWriteConcernException::getDocument
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335867 c90b9560-bf6c-de11-be94-00142212c4b1
2015-02-03 09:27:15 +00:00
Hannes Magnusson
0207f79751 Its a classname, not function
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335866 c90b9560-bf6c-de11-be94-00142212c4b1
2015-02-03 01:07:07 +00:00
Hannes Magnusson
daf331850e s/MongoDB:command/MongoDB::command/g
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335865 c90b9560-bf6c-de11-be94-00142212c4b1
2015-02-03 01:02:43 +00:00
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
2260593b82 Reword docs on read preference inheritance among MongoDB classes
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335762 c90b9560-bf6c-de11-be94-00142212c4b1
2015-01-15 21:54:39 +00:00
Jeremy Mikola
9de4d8fb3e Document MongoCommandCursor read preference methods
https://jira.mongodb.org/browse/PHP-1370


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335761 c90b9560-bf6c-de11-be94-00142212c4b1
2015-01-15 21:34:50 +00:00
Jeremy Mikola
9f0e1e36a3 Documentation for MongoCursorInterface
This interface extends Iterator and is implemented internally by MongoCursor and MongoCommandCursor. In addition to the interface methods, "see also" links were added on the implemented methods to point back to the interface documentation (as we did for Iterator methods).

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


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335760 c90b9560-bf6c-de11-be94-00142212c4b1
2015-01-15 21:10:35 +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
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
Jeremy Mikola
ed3172ce5d Specify "seconds since the epoch" in MongoDB type docs
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335736 c90b9560-bf6c-de11-be94-00142212c4b1
2015-01-13 20:25:00 +00:00
Jeremy Mikola
40d18f45d5 Clarify that MongoTimestamp is for internal use only
We'll leave Kristina's Monopoly reference in place for historical reasons.

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


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335735 c90b9560-bf6c-de11-be94-00142212c4b1
2015-01-13 20:17:41 +00:00
Jeremy Mikola
3382aa19c7 Fix typo in MongoMaxKey documentation
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335734 c90b9560-bf6c-de11-be94-00142212c4b1
2015-01-13 19:20:33 +00:00
Jeremy Mikola
58374fa210 Clarify that MongoMaxKey/MongoMinKey are primarily for internal use
This also revises some language in the usage examplex for both classes.

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


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335733 c90b9560-bf6c-de11-be94-00142212c4b1
2015-01-13 19:18:31 +00:00
Jeremy Mikola
9eeba8cb28 Update docs for MongoCursor interator methods
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335444 c90b9560-bf6c-de11-be94-00142212c4b1
2014-12-28 22:05:21 +00:00
Jeremy Mikola
eecf0808f0 Revise formatting and example for MongoCommandCursor::timeout()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335443 c90b9560-bf6c-de11-be94-00142212c4b1
2014-12-28 21:57:51 +00:00
Jeremy Mikola
63b0d9a05f Revise docs and examples for creating MongoCommandCursors
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335442 c90b9560-bf6c-de11-be94-00142212c4b1
2014-12-28 21:56:56 +00:00
Jeremy Mikola
78b7d262be Revise docs for MongoCursor::dead()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335441 c90b9560-bf6c-de11-be94-00142212c4b1
2014-12-28 21:55:05 +00:00
Jeremy Mikola
a7f59b4761 Revise docs and examples for MongoCursor::info()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335440 c90b9560-bf6c-de11-be94-00142212c4b1
2014-12-28 21:54:15 +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
fdf29338d6 Revise MongoCommandCursor class documentation
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335347 c90b9560-bf6c-de11-be94-00142212c4b1
2014-12-23 21:44:31 +00:00