<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:35:35 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[CSHARP-21] Database collections created by the c# driver do not prepend the &quot;&lt;dbname&gt;.&quot;  to the collection name</title>
                <link>https://jira.mongodb.org/browse/CSHARP-21</link>
                <project id="10041" key="CSHARP">C# Driver</project>
                    <description>&lt;p&gt;Database collections created by the c# driver do not prepend the &quot;&amp;lt;dbname&amp;gt;.&quot;  to the collection name&lt;br/&gt;
Example:&lt;br/&gt;
/* Prerequisite: testdb does not exist */&lt;br/&gt;
Mongo mongo = new Mongo();&lt;br/&gt;
mongo.Connect();&lt;br/&gt;
Database db = mongo&lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;quot;testdb&amp;quot;&amp;#93;&lt;/span&gt;;&lt;br/&gt;
db&lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;quot;testcollection&amp;quot;&amp;#93;&lt;/span&gt;.Insert(new &lt;/p&gt;
{ Doc = &quot;Doc&quot; }
&lt;p&gt;);&lt;/p&gt;

&lt;p&gt;-&amp;gt; Expected: the created collection name is &quot;testdb.testcollection&quot;&lt;br/&gt;
-&amp;gt; Observed: the created collection name is &quot;testcollection&quot;&lt;/p&gt;

&lt;p&gt;OBS: Verified with the mongo.exe command-line tool&lt;/p&gt;</description>
                <environment></environment>
        <key id="11401">CSHARP-21</key>
            <summary>Database collections created by the c# driver do not prepend the &quot;&lt;dbname&gt;.&quot;  to the collection name</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="9">Done</resolution>
                                        <assignee username="sam">Sam Corder</assignee>
                                    <reporter username="felipecsl">Felipe Lima</reporter>
                        <labels>
                    </labels>
                <created>Mon, 1 Mar 2010 17:49:06 +0000</created>
                <updated>Tue, 2 Mar 2010 06:49:55 +0000</updated>
                            <resolved>Tue, 2 Mar 2010 01:44:10 +0000</resolved>
                                                                                        <votes>0</votes>
                                    <watches>0</watches>
                                                                                                                <comments>
                            <comment id="12660" author="felipecsl" created="Tue, 2 Mar 2010 06:49:55 +0000"  >&lt;p&gt;You are correct. Thanks!&lt;/p&gt;</comment>
                            <comment id="12659" author="sam" created="Tue, 2 Mar 2010 01:44:10 +0000"  >&lt;p&gt;Not an issue.&lt;/p&gt;</comment>
                            <comment id="12658" author="sam" created="Tue, 2 Mar 2010 01:43:21 +0000"  >&lt;p&gt;You are probably doing db.testdb.testcollection.insert(&lt;/p&gt;
{...}) at the shell when all you need is db.testcollection.insert({...}
&lt;p&gt;).  Beware that when you start up the shell it automatically connects you to the &quot;tests&quot; database.  If you want a different one enter  &quot;use name_of_your_db_you_want_to_use&quot; before doing any inserts.&lt;/p&gt;</comment>
                            <comment id="12652" author="felipecsl" created="Mon, 1 Mar 2010 21:28:18 +0000"  >&lt;p&gt;It looks like the C# driver is correctly prepending the &quot;dbname.&quot; string, but, instead, collections created using mongo.exe are prepending &quot;dbname.dbname.&quot;, which is causing the weird behavior.&lt;br/&gt;
Tested with MongoDB 1.2.3&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrha67:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>14447</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>