<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:51:32 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>[JAVA-116] Would like to know if a collection already exists without automatically creating one</title>
                <link>https://jira.mongodb.org/browse/JAVA-116</link>
                <project id="10006" key="JAVA">Java Driver</project>
                    <description>&lt;p&gt;I have a use case in which I would like to check for the existence of a collection without creating a new one automatically if it already exists.&lt;/p&gt;

&lt;p&gt;I am new to MongoDB, but I&apos;m proposing a change to DB.java to add this functionality.&lt;/p&gt;

&lt;p&gt;I&apos;ve updated to include:&lt;br/&gt;
public boolean collectionExists(String collectionName)&lt;/p&gt;

&lt;p&gt;and the test for it in DBTest.java.&lt;/p&gt;

&lt;p&gt;The attached patch includes the changes (created from my github fork of the driver project).&lt;/p&gt;

&lt;p&gt;Please consider it for inclusion.&lt;/p&gt;

&lt;p&gt;Thanks!&lt;/p&gt;</description>
                <environment></environment>
        <key id="12005">JAVA-116</key>
            <summary>Would like to know if a collection already exists without automatically creating one</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</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="eliot">Eliot Horowitz</assignee>
                                    <reporter username="djktno">Daniel Kunnath</reporter>
                        <labels>
                    </labels>
                <created>Sat, 22 May 2010 00:57:50 +0000</created>
                <updated>Fri, 29 Oct 2010 02:49:58 +0000</updated>
                            <resolved>Mon, 24 May 2010 10:29:40 +0000</resolved>
                                                    <fixVersion>2.0</fixVersion>
                                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="14385" author="eliot" created="Mon, 24 May 2010 10:29:40 +0000"  >&lt;p&gt;merged your patch via github (that&apos;s the best way to submit patches anyway)&lt;br/&gt;
thanks&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="10225" name="0001-Updated-DB-API-to-include-method-to-check-for-the-ex.patch" size="2803" author="djktno" created="Sat, 22 May 2010 00:57:50 +0000"/>
                    </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|hrhd5b:</customfieldvalue>

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