[JAVA-1907] updateMany method supposed to update a single document Created: 30/Jul/15  Updated: 14/Sep/15  Resolved: 30/Jul/15

Status: Closed
Project: Java Driver
Component/s: Documentation
Affects Version/s: None
Fix Version/s: 3.0.4, 3.1.0

Type: Improvement Priority: Minor - P4
Reporter: deepak vohra Assignee: Ross Lawley
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

The updateMany method is listed to update a single document. Shouldn't it update many documents?

http://api.mongodb.org/java/3.0/com/mongodb/client/MongoCollection.html#updateMany-org.bson.conversions.Bson-org.bson.conversions.Bson-com.mongodb.client.model.UpdateOptions-



 Comments   
Comment by deepak vohra [ 14/Sep/15 ]

Thanks for fixing.

Comment by Jeffrey Yemin [ 14/Sep/15 ]

Fix release today in 3.0.4.

Comment by Ross Lawley [ 30/Jul/15 ]

Thanks dvohra for letting us know - I've updated the Javadoc in the source.

Comment by Githook User [ 30/Jul/15 ]

Author:

{u'username': u'rozza', u'name': u'Ross Lawley', u'email': u'ross.lawley@gmail.com'}

Message: Correct API documentation for updateMany

JAVA-1907
Branch: 3.0.x
https://github.com/mongodb/mongo-java-driver/commit/a98ea6143344279df592ad7d79e08dc9d2bfdcb3

Comment by Githook User [ 30/Jul/15 ]

Author:

{u'username': u'rozza', u'name': u'Ross Lawley', u'email': u'ross.lawley@gmail.com'}

Message: Correct API documentation for updateMany

JAVA-1907
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/48488539ec59d82aeb90328f9bb6795ab67b361b

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