diff --git a/reference/mongodb/mongodb/driver/bulkwrite/count.xml b/reference/mongodb/mongodb/driver/bulkwrite/count.xml index f986229eac..e445448eda 100644 --- a/reference/mongodb/mongodb/driver/bulkwrite/count.xml +++ b/reference/mongodb/mongodb/driver/bulkwrite/count.xml @@ -4,7 +4,7 @@ MongoDB\Driver\BulkWrite::count - Count expected roundtrips for executing the bulk + Count number of write operations in the bulk @@ -14,9 +14,8 @@ - Returns the expected number of client-to-server roundtrips required to - execute all write operations in the - MongoDB\Driver\BulkWrite. + Returns the number of write operations added to the + MongoDB\Driver\BulkWrite object. @@ -29,8 +28,8 @@ &reftitle.returnvalues; - Returns number of expected roundtrips to execute the - MongoDB\Driver\BulkWrite. + Returns number of write operations added to the + MongoDB\Driver\BulkWrite object. @@ -41,6 +40,32 @@ + + &reftitle.changelog; + + + + + + &Version; + &Description; + + + + + 1.2.0 + + Returns the number of write operations added to the + MongoDB\Driver\BulkWrite object. Earlier versions + returned the expected number of client-to-server roundtrips required to + execute all write operations. + + + + + + + &reftitle.examples; @@ -64,7 +89,7 @@ var_dump(count($bulk)); &example.outputs;