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
Yannick Torres
4f00b7676d
Fix svn keywords
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@326835 c90b9560-bf6c-de11-be94-00142212c4b1
2012-07-27 14:03:57 +00:00
Hannes Magnusson
c90424bc60
Deprecate whole lot of things
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@326702 c90b9560-bf6c-de11-be94-00142212c4b1
2012-07-19 16:57:19 +00:00
Hannes Magnusson
fce4cad98c
Document MongoCursorException->getHost() & MongoCollection->distinct()
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@326701 c90b9560-bf6c-de11-be94-00142212c4b1
2012-07-19 14:45:48 +00:00
Jeremy Mikola
84d6618ac2
Revise MongoCollection::ensureIndex() background option
...
https://jira.mongodb.org/browse/PHP-393
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@326493 c90b9560-bf6c-de11-be94-00142212c4b1
2012-07-06 15:05:41 +00:00
Justin Martin
1c5e7d35ce
Typo. Patch by Vid Luther (vluther).
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@324486 c90b9560-bf6c-de11-be94-00142212c4b1
2012-03-23 05:39:16 +00:00
Derick Rethans
42c810b3a5
Add an example too.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323965 c90b9560-bf6c-de11-be94-00142212c4b1
2012-03-06 19:03:05 +00:00
Derick Rethans
26d4bbc997
Document continueOnError.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323964 c90b9560-bf6c-de11-be94-00142212c4b1
2012-03-06 18:58:54 +00:00
Sean Coates
013194233d
Fix tyop.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323585 c90b9560-bf6c-de11-be94-00142212c4b1
2012-02-27 14:21:59 +00:00
Derick Rethans
dff0dee9c8
More clarifications for indexes.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@321552 c90b9560-bf6c-de11-be94-00142212c4b1
2011-12-30 10:13:06 +00:00
Philip Olson
55df00f959
Fixed build.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@321520 c90b9560-bf6c-de11-be94-00142212c4b1
2011-12-29 18:19:42 +00:00
Derick Rethans
a88f54ced1
Added see-also, and a better description.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@321516 c90b9560-bf6c-de11-be94-00142212c4b1
2011-12-29 15:47:06 +00:00
Derick Rethans
8ad788358d
Explain fields for querying and return a bit better. Also add a warning for the
...
"$" issue and add the difference between find() and findOne().
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@321515 c90b9560-bf6c-de11-be94-00142212c4b1
2011-12-29 15:45:00 +00:00
Derick Rethans
dec523a7db
Explain fields for querying and return a bit better. Also add a warning for the
...
"$" issue.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@321514 c90b9560-bf6c-de11-be94-00142212c4b1
2011-12-29 15:29:03 +00:00
Derick Rethans
61bc4ac8fe
Layout and rename newobj to new_object.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@321511 c90b9560-bf6c-de11-be94-00142212c4b1
2011-12-29 14:59:50 +00:00
Derick Rethans
e1dd919618
Documentation fixes and changes for 1.3.0.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@321505 c90b9560-bf6c-de11-be94-00142212c4b1
2011-12-29 11:48:33 +00:00
Derick Rethans
1a7e588d98
Documented the various array elements in error constructs. (PHP-251)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@319495 c90b9560-bf6c-de11-be94-00142212c4b1
2011-11-18 17:20:15 +00:00
Derick Rethans
1d1996e068
Fixing documentation for getIndexInfo() (PHP-265).
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@319493 c90b9560-bf6c-de11-be94-00142212c4b1
2011-11-18 15:04:04 +00:00
Richard Quadling
73a85ba854
svn:eol-style => native
...
Added all svn:keywords
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@319039 c90b9560-bf6c-de11-be94-00142212c4b1
2011-11-11 09:33:19 +00:00
Daniel Convissor
86b07cdc1e
Make examples for basic collection functions complete and interrelated.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@319012 c90b9560-bf6c-de11-be94-00142212c4b1
2011-11-10 22:13:25 +00:00
Derick Rethans
e9e9417636
Documented MongoCollection::toIndexString().
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@318989 c90b9560-bf6c-de11-be94-00142212c4b1
2011-11-10 11:40:16 +00:00
Jakub Vrana
3b6540c7b9
Fix protos
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@313238 c90b9560-bf6c-de11-be94-00142212c4b1
2011-07-14 12:01:22 +00:00
Hannes Magnusson
0d6de56058
Order latest-release-first (reported by salathe on irc)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@309383 c90b9560-bf6c-de11-be94-00142212c4b1
2011-03-18 13:52:52 +00:00
Hannes Magnusson
17df9baba4
Fix changelog markup (reported by Eero Niemi on IRC)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@309380 c90b9560-bf6c-de11-be94-00142212c4b1
2011-03-18 12:05:16 +00:00
Jakub Vrana
2ee99d1e90
Fix protos
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@308234 c90b9560-bf6c-de11-be94-00142212c4b1
2011-02-10 22:48:53 +00:00
Kristina Chodorow
7b95acba7c
added timeout info
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@307744 c90b9560-bf6c-de11-be94-00142212c4b1
2011-01-25 23:33:46 +00:00
Yannick Torres
f7c419a162
typo
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@307043 c90b9560-bf6c-de11-be94-00142212c4b1
2011-01-03 23:08:22 +00:00