From 4e9be3169fbbd89cf3bd5c3143618b92d311e48a Mon Sep 17 00:00:00 2001 From: Jeremy Mikola Date: Wed, 27 Apr 2016 19:34:44 +0000 Subject: [PATCH] MongoDB\Driver\BulkWrite::count() return value changes in 1.2.0 https://jira.mongodb.org/browse/PHPC-680 git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339104 c90b9560-bf6c-de11-be94-00142212c4b1 --- .../mongodb/driver/bulkwrite/count.xml | 39 +++++++++++++++---- 1 file changed, 32 insertions(+), 7 deletions(-) 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;