Document non-boolean return values for MongoCollection::ensureIndex()

https://jira.mongodb.org/browse/PHP-671


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329341 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Jeremy Mikola 2013-01-29 16:09:29 +00:00
parent f81e6a03d2
commit 4e4d8d2006

View file

@ -147,7 +147,12 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Returns &true;.
Returns an array containing the status of the update if the
<literal>"w"</literal> option is set. Otherwise, returns &true;.
</para>
<para>
Fields in the status array are described in the documentation for
<function>MongoCollection::insert</function>.
</para>
</refsect1>