svn: /phpdoc/en/trunk/reference/mongodb/mongodb/driver/bulkwrite/ count.xml
| From: | Jeremy Mikola | Date: | Wed, 27 Apr 2016 19:34:44 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/mongodb/mongodb/driver/bulkwrite/ count.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-14116@lists.php.net to get a copy of this message | ||
jmikola Wed, 27 Apr 2016 19:34:44 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=339104
Log:
MongoDB\Driver\BulkWrite::count() return value changes in 1.2.0
https://jira.mongodb.org/browse/PHPC-680
Changed paths:
U phpdoc/en/trunk/reference/mongodb/mongodb/driver/bulkwrite/count.xml
Modified: phpdoc/en/trunk/reference/mongodb/mongodb/driver/bulkwrite/count.xml
===================================================================
--- phpdoc/en/trunk/reference/mongodb/mongodb/driver/bulkwrite/count.xml 2016-04-27 09:25:58 UTC
(rev 339103)
+++ phpdoc/en/trunk/reference/mongodb/mongodb/driver/bulkwrite/count.xml 2016-04-27 19:34:44 UTC
(rev 339104)
@@ -4,7 +4,7 @@
<refentry xml:id="mongodb-driver-bulkwrite.count" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>MongoDB\Driver\BulkWrite::count</refname>
- <refpurpose>Count expected roundtrips for executing the bulk</refpurpose>
+ <refpurpose>Count number of write operations in the bulk</refpurpose>
</refnamediv>
<refsect1 role="description">
@@ -14,9 +14,8 @@
<void />
</methodsynopsis>
<para>
- Returns the expected number of client-to-server roundtrips required to
- execute all write operations in the
- <classname>MongoDB\Driver\BulkWrite</classname>.
+ Returns the number of write operations added to the
+ <classname>MongoDB\Driver\BulkWrite</classname> object.
</para>
</refsect1>
@@ -29,8 +28,8 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- Returns number of expected roundtrips to execute the
- <classname>MongoDB\Driver\BulkWrite</classname>.
+ Returns number of write operations added to the
+ <classname>MongoDB\Driver\BulkWrite</classname> object.
</para>
</refsect1>
@@ -41,6 +40,32 @@
</simplelist>
</refsect1>
+ <refsect1 role="changelog">
+ &reftitle.changelog;
+ <para>
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>1.2.0</entry>
+ <entry>
+ Returns the number of write operations added to the
+ <classname>MongoDB\Driver\BulkWrite</classname> object. Earlier versions
+ returned the expected number of client-to-server roundtrips required to
+ execute all write operations.
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </para>
+ </refsect1>
<refsect1 role="examples">
&reftitle.examples;
@@ -64,7 +89,7 @@
&example.outputs;
<screen>
<![CDATA[
-int(3)
+int(4)
]]>
</screen>
</example>