svn: /phpdoc/en/trunk/reference/mongo/ ini.xml
| From: | Kristina Chodorow | Date: | Mon, 25 Oct 2010 22:04:50 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/mongo/ ini.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-7340@lists.php.net to get a copy of this message | ||
kristina Mon, 25 Oct 2010 22:04:50 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=304899
Log:
added allow_empty_keys option
Changed paths:
U phpdoc/en/trunk/reference/mongo/ini.xml
Modified: phpdoc/en/trunk/reference/mongo/ini.xml
===================================================================
--- phpdoc/en/trunk/reference/mongo/ini.xml 2010-10-25 21:58:15 UTC (rev 304898)
+++ phpdoc/en/trunk/reference/mongo/ini.xml 2010-10-25 22:04:50 UTC (rev 304899)
@@ -60,6 +60,11 @@
<entry>"1"</entry>
<entry>PHP_INI_ALL</entry>
</row>
+ <row>
+ <entry><link
linkend="ini.mongo.allow_empty_keys">mongo.allow_empty_keys</link></entry>
+ <entry>false</entry>
+ <entry>PHP_INI_ALL</entry>
+ </row>
</tbody>
</tgroup>
</table>
@@ -219,6 +224,27 @@
</listitem>
</varlistentry>
+ <varlistentry xml:id="ini.mongo.allow_empty_keys">
+ <term>
+ <parameter>mongo.allow_empty_keys</parameter>
+ <type>int</type>
+ </term>
+ <listitem>
+ <para>
+ Added in version 1.0.11.
+ </para>
+ <para>
+ If empty strings ("") should be allowed as key names. By default, the
+ driver will throw an exception if you attempt to pass the empty string as
+ a key to the database. It is extremely easy to do this inavertently by
+ using double quotes with $-operators, so it is recommended that you leave
+ this setting as default. However, if you need to save keys that are empty
+ strings, you can set this option to true and the driver will allow you to
+ pass empty strings to the database.
+ </para>
+ </listitem>
+ </varlistentry>
+
</variablelist>
</para>
</section>