svn: /phpdoc/en/trunk/reference/mongo/mongocollection/ ensureindex.xml

From: Date: Tue, 29 Jan 2013 16:09:29 +0000
Subject: svn: /phpdoc/en/trunk/reference/mongo/mongocollection/ ensureindex.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-10978@lists.php.net to get a copy of this message
jmikola Tue, 29 Jan 2013 16:09:29 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=329341 Log: Document non-boolean return values for MongoCollection::ensureIndex() https://jira.mongodb.org/browse/PHP-671 Changed paths: U phpdoc/en/trunk/reference/mongo/mongocollection/ensureindex.xml Modified: phpdoc/en/trunk/reference/mongo/mongocollection/ensureindex.xml =================================================================== --- phpdoc/en/trunk/reference/mongo/mongocollection/ensureindex.xml 2013-01-29 16:03:18 UTC (rev 329340) +++ phpdoc/en/trunk/reference/mongo/mongocollection/ensureindex.xml 2013-01-29 16:09:29 UTC (rev 329341) @@ -147,8 +147,13 @@ <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> <refsect1 role="changelog">

« previous php.doc.cvs (#10978) next »