[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

JAVA-1342
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/6f3def1663ba748f50c7417478e953427e6779f9

Comment by Jeffrey Yemin [ 04/Aug/14 ]

It does... The Javadoc is wrong. Thanks for catching it.

Generated at Thu Feb 08 08:54:22 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.