<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:36:24 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>[GODRIVER-1441] DeleteOne does not return any useful information when no document exists</title>
                <link>https://jira.mongodb.org/browse/GODRIVER-1441</link>
                <project id="14289" key="GODRIVER">Go Driver</project>
                    <description>&lt;p&gt;`DeleteOne` method on the collection returns a value of type `*mongo.DeleteResult` which has one attribute `DeletedCount` whose value can either be 0 or 1. It would have been better if there was some way of indicating error when no document was found to be deleted instead of manually checking the `DeletedCount` attribute.&lt;/p&gt;

&lt;p&gt;`DeletedCount` doesn&apos;t seem very useful for testing purposes.&lt;/p&gt;</description>
                <environment>Mac OS Catalina</environment>
        <key id="1055962">GODRIVER-1441</key>
            <summary>DeleteOne does not return any useful information when no document exists</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</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="13202">Works as Designed</resolution>
                                        <assignee username="jeff.yemin@mongodb.com">Jeffrey Yemin</assignee>
                                    <reporter username="sah.sslpu@gmail.com">Deepak Sah</reporter>
                        <labels>
                    </labels>
                <created>Mon, 16 Dec 2019 12:38:14 +0000</created>
                <updated>Fri, 27 Oct 2023 13:16:29 +0000</updated>
                            <resolved>Tue, 4 Feb 2020 16:57:11 +0000</resolved>
                                    <version>1.2.0</version>
                                                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="2782841" author="divjot.arora" created="Tue, 4 Feb 2020 16:56:57 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=sah.sslpu%40gmail.com&quot; class=&quot;user-hover&quot; rel=&quot;sah.sslpu@gmail.com&quot;&gt;sah.sslpu@gmail.com&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;Sorry for the delay in responding. The MongoDB drivers made a decision to not have the &lt;tt&gt;DeleteOne&lt;/tt&gt; function error if no documents are deleted for idempotency reasons. Given that the Go Driver is post-1.0, it is not possible to change this without making breaking changes or creating additional client options that users would likely forget to enable, so we don&apos;t think it&apos;s a good idea to change this behavior at this time.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&amp;#8211; Divjot&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|hw8bx3:</customfieldvalue>

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