svn: /phpdoc/en/trunk/reference/mongo/mongocollection/ insert.xml
| From: | Kristina Chodorow | Date: | Wed, 23 Jun 2010 20:05:01 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/mongo/mongocollection/ insert.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-6843@lists.php.net to get a copy of this message | ||
kristina Wed, 23 Jun 2010 20:05:01 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=300708
Log:
utf8 note
Changed paths:
U phpdoc/en/trunk/reference/mongo/mongocollection/insert.xml
Modified: phpdoc/en/trunk/reference/mongo/mongocollection/insert.xml
===================================================================
--- phpdoc/en/trunk/reference/mongo/mongocollection/insert.xml 2010-06-23 19:06:33 UTC (rev 300707)
+++ phpdoc/en/trunk/reference/mongo/mongocollection/insert.xml 2010-06-23 20:05:01 UTC (rev 300708)
@@ -14,6 +14,11 @@
<methodparam><type>array</type><parameter>a</parameter></methodparam>
<methodparam
choice="opt"><type>array</type><parameter>options</parameter><initializer>array()</initializer></methodparam>
</methodsynopsis>
+ <para>
+ All strings sent to the database must be UTF-8. If a string is not UTF-8, a
+ <classname>MongoException</classname> will be thrown. To insert
+ (or query for) a non-UTF-8 string, use <classname>MongoBinData</classname>.
+ </para>
</refsect1>
<refsect1 role="parameters">