[JAVA-1342] Improve DBCollection.updateMulti method Javadoc Created: 03/Aug/14 Updated: 26/Dec/19 Resolved: 13/Aug/14 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | Documentation |
| Affects Version/s: | None |
| Fix Version/s: | 2.13.0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | deepak vohra | Assignee: | Ross Lawley |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
N/A |
||
| Description |
|
The updateMulti method indicates "By default the method updates a single document." http://api.mongodb.org/java/current/com/mongodb/DBCollection.html#updateMulti(com.mongodb.DBObject, com.mongodb.DBObject) Shouldn't the updateMulti update mutliple documents? |
| Comments |
| Comment by Jeffrey Yemin [ 13/Aug/14 ] |
|
Ah, ok. |
| Comment by Ross Lawley [ 13/Aug/14 ] |
|
It wasnt in 3.0.0 |
| Comment by Jeffrey Yemin [ 13/Aug/14 ] |
|
This should be ported to 3.0.0 as well |
| Comment by Githook User [ 13/Aug/14 ] |
|
Author: {u'username': u'rozza', u'name': u'Ross Lawley', u'email': u'ross.lawley@gmail.com'}Message: Correct DBCollection.updateMulti method Javadoc
|
| Comment by Jeffrey Yemin [ 04/Aug/14 ] |
|
It does... The Javadoc is wrong. Thanks for catching it. |