[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-doc-cvs
Subject:    [DOC-CVS] =?utf-8?q?svn:_/phpdoc/en/trunk/reference/mongo/_ini.xml?=
From:       Kristina_Chodorow <kristina () php ! net>
Date:       2010-10-25 22:04:50
Message-ID: svn-kristina-1288044290-304899-174875315 () svn ! php ! net
[Download RAW message or body]

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>



-- 
PHP Documentation Commits Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic