svn: /phpdoc/en/trunk/reference/mongo/mongocollection/ ensureindex.xml
| From: | Derick Rethans | Date: | Mon, 20 May 2013 18:36:35 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/mongo/mongocollection/ ensureindex.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-11317@lists.php.net to get a copy of this message | ||
derick Mon, 20 May 2013 18:36:35 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=330305
Log:
Move history to the changelog.
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-05-20 18:25:44 UTC (rev
330304)
+++ phpdoc/en/trunk/reference/mongo/mongocollection/ensureindex.xml 2013-05-20 18:36:35 UTC (rev
330305)
@@ -129,9 +129,10 @@
<literal>"name"</literal>
</para>
<para>
- Starting with driver version 1.0.5 you can specify an index name.
- This can be useful if you are indexing many keys and Mongo complains
- about the index name being too long.
+ This option allows you to override the algorithm that the driver
+ uses to create an index name and specify your own. This can be
+ useful if you are indexing many keys and Mongo complains about the
+ index name being too long.
</para>
</listitem>
&mongo.writes.parameters.timeout;
@@ -201,6 +202,13 @@
</entry>
</row>
<row>
+ <entry>1.0.5</entry>
+ <entry>
+ Added the <literal>"name"</literal> option to override index name
+ creation.
+ </entry>
+ </row>
+ <row>
<entry>1.0.2</entry>
<entry>
Changed <parameter>options</parameter> parameter from boolean to array.