allanbank / mongodb-async-driver

The MongoDB Asynchronous Java Driver.
Apache License 2.0
22 stars 15 forks source link

Update the documentation for the return value of MongoCollection.insert(...) #2

Closed allanbank closed 9 years ago

allanbank commented 9 years ago

With the release of the 2.0.0 version of the driver the insert operation will return the number of inserted documents when we are talking to a cluster of servers that is >= 2.6.0. This should be reflected in the documentation for the return.