svn: /phpdoc/en/trunk/reference/mongo/mongocollection/ insert.xml
| From: | Jeremy Mikola | Date: | Tue, 08 Jan 2013 21:28:08 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/mongo/mongocollection/ insert.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-10903@lists.php.net to get a copy of this message | ||
jmikola Tue, 08 Jan 2013 21:28:08 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=329038
Log:
Note that MongoDB GLE will report n=0 for insertions
https://jira.mongodb.org/browse/PHP-620
Changed paths:
U phpdoc/en/trunk/reference/mongo/mongocollection/insert.xml
Modified: phpdoc/en/trunk/reference/mongo/mongocollection/insert.xml
===================================================================
--- phpdoc/en/trunk/reference/mongo/mongocollection/insert.xml 2013-01-08 21:18:38 UTC (rev 329037)
+++ phpdoc/en/trunk/reference/mongo/mongocollection/insert.xml 2013-01-08 21:28:08 UTC (rev 329038)
@@ -119,8 +119,9 @@
</term>
<listitem>
<para>
- If the last operation was an insert, an update or a remove, the number
- of objects affected will be returned.
+ If the last operation was an update, upsert, or a remove, the number
+ of documents affected will be returned. For insert operations, this value
+ is always <literal>0</literal>.
</para>
</listitem>
</varlistentry>