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

From: Date: Fri, 02 Apr 2010 18:00:13 +0000
Subject: svn: /phpdoc/en/trunk/reference/mongo/ mongocollection.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-6307@lists.php.net to get a copy of this message
kristina Fri, 02 Apr 2010 18:00:13 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=297351 Log: collection name clarification Changed paths: U phpdoc/en/trunk/reference/mongo/mongocollection.xml Modified: phpdoc/en/trunk/reference/mongo/mongocollection.xml =================================================================== --- phpdoc/en/trunk/reference/mongo/mongocollection.xml 2010-04-02 17:56:37 UTC (rev 297350) +++ phpdoc/en/trunk/reference/mongo/mongocollection.xml 2010-04-02 18:00:13 UTC (rev 297351) @@ -15,9 +15,16 @@ Representations a database collection. </para> <para> - Collection names can use any character in the ASCII set. Some valid collection - names are &quot;&quot;, &quot;...&quot;, &quot;my collection&quot;, and &quot;&#42;&amp;&#35;&#64;&quot;. + Collection names can use any character in the ASCII set. Some valid + collection names are &quot;&quot;, &quot;...&quot;, + &quot;my collection&quot;, and &quot;&#42;&amp;&#35;&#64;&quot;. </para> + <para> + User-defined collection names cannot contain the $ symbol. There are + certain system collections which use a $ in their names (e.g., + local.oplog.$main), but it is a reserved character. If you attempt to + create and use a collection with a $ in the name, MongoDB will assert. + </para> </section> <!-- }}} -->

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