Commit graph

396 commits

Author SHA1 Message Date
Jakub Vrana
f539c60440 Fix extension-membership
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330242 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-16 18:25:45 +00:00
Derick Rethans
89f251edee PHP-788: Document journal/fsync MongoClient connection options
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330191 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-08 14:23:04 +00:00
Derick Rethans
54d0342f80 Order by alphabethical order just like in the source code.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330190 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-08 14:14:16 +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
Peter Cowburn
feb1ebe8b4 typofix: 64-bit -> 32-bit (patch by daijie)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330186 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-07 07:31:26 +00:00
Jeremy Mikola
c8253817c2 MongoCursor::hint() supports string arguments
https://jira.mongodb.org/browse/PHP-775


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330170 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-02 18:41:57 +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
f68a7f392b PHP-695: Remove mention of PHPUnit from documentation
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330135 c90b9560-bf6c-de11-be94-00142212c4b1
2013-04-23 08:36:22 +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
53281c346b Added that it's a server thing, and emphasised "forever".
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330128 c90b9560-bf6c-de11-be94-00142212c4b1
2013-04-22 14:11:27 +00:00
Derick Rethans
b5cc417fb0 Fix grammar.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330076 c90b9560-bf6c-de11-be94-00142212c4b1
2013-04-11 14:07:27 +00:00
Derick Rethans
1c8e3304dd From 1.4.0 we support flag 3 (oplog_reply) as well.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330072 c90b9560-bf6c-de11-be94-00142212c4b1
2013-04-11 09:29:12 +00:00
Hannes Magnusson
6155859848 We don't distribute OSX binaries anymore
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329942 c90b9560-bf6c-de11-be94-00142212c4b1
2013-03-28 07:46:17 +00:00
Derick Rethans
92d1c08497 Added the new Windows download URL.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329866 c90b9560-bf6c-de11-be94-00142212c4b1
2013-03-21 11:19:16 +00:00
Hannes Magnusson
699ab8d7f3 Make more sense for this example, one node seedlist is a bad idea
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329698 c90b9560-bf6c-de11-be94-00142212c4b1
2013-03-07 21:21:24 +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
Hannes Magnusson
c91d2457f1 Added "socketTimeoutMS" & "connectTimeoutMS" options, as of 1.3.4
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329457 c90b9560-bf6c-de11-be94-00142212c4b1
2013-02-09 02:08:14 +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
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
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
Hannes Magnusson
c0a67e0c16 Document MongoGridFS exception codes
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329239 c90b9560-bf6c-de11-be94-00142212c4b1
2013-01-19 20:07:22 +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
Derick Rethans
00daa136b3 Fixed version numbers again.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329138 c90b9560-bf6c-de11-be94-00142212c4b1
2013-01-14 18:27:06 +00:00
Hannes Magnusson
cdb9df4c46 Mention that the filename index will be populated
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329130 c90b9560-bf6c-de11-be94-00142212c4b1
2013-01-14 03:23:34 +00:00
Jeremy Mikola
74dfdc51ec Restore non-fragment MongoDB URL entities
These were previously removed in r329063, but should stick around for the link checker script.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329065 c90b9560-bf6c-de11-be94-00142212c4b1
2013-01-10 19:18:05 +00:00
Jeremy Mikola
f34909f604 Remove MongoDB URL entities that are only referenced once
https://jira.mongodb.org/browse/PHP-387


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329063 c90b9560-bf6c-de11-be94-00142212c4b1
2013-01-10 17:42:52 +00:00
Jeremy Mikola
48b24042d6 Update MongoGridFS "see also" links and format as a list
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329046 c90b9560-bf6c-de11-be94-00142212c4b1
2013-01-09 23:06:32 +00:00
Jeremy Mikola
65c7a68e87 Add examples and consistency to MongoGridFS storage methods
https://jira.mongodb.org/browse/PHP-387


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329045 c90b9560-bf6c-de11-be94-00142212c4b1
2013-01-09 23:04:32 +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
Adam Harvey
c1034e6218 MongoGridFS::storeFile() returns a MongoId, per note 110936.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329006 c90b9560-bf6c-de11-be94-00142212c4b1
2013-01-08 02:34:26 +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
319f198e34 These aren't actually in the 1.3 release, but are slated for 1.4
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328686 c90b9560-bf6c-de11-be94-00142212c4b1
2012-12-05 19:47:47 +00:00
Hannes Magnusson
e3fe415ffd typo reported by NodeX (freenode)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328624 c90b9560-bf6c-de11-be94-00142212c4b1
2012-12-03 13:03:38 +00:00
Derick Rethans
df8a0aceef Bug : %s/$obj/$document
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328572 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-29 16:20:34 +00:00
Derick Rethans
95613c0697 Fix ups, and commented some things out that aren't implemented.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328569 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-29 13:27:04 +00:00
Derick Rethans
c5746ce5aa Fixed version information.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328565 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-29 11:02:30 +00:00
Hannes Magnusson
99392cae51 tpyos spotted by Philip
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328557 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-29 06:24:34 +00:00
Hannes Magnusson
1585a91cf9 Fixed bug#63624 (documentation concerning settings for Mongo-Database)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328556 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-29 06:06:32 +00:00
Hannes Magnusson
fb8f8617ef Various markup fixes
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328555 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-29 05:37:54 +00:00
Hannes Magnusson
82a3f40a46 Mention this class doesn't do anything now
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328554 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-29 05:05:54 +00:00
Hannes Magnusson
ce2287e205 Adding seealso/changelogs and best practices and such things
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328553 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-29 05:03:19 +00:00
Hannes Magnusson
b75d8bd411 Document the deprecated Mongo constructor
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328552 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-29 01:00:58 +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
7d96d2a7f7 More Read Preferences love
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328549 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-28 23:25:17 +00:00