<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:10:08 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>[CDRIVER-635] The multi option should be true by default</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-635</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>&lt;p&gt;I just wasted a crapload of my time trying to figure out why one of my documents was updating and not another. It makes absolutely no sense that multi isn&apos;t the default. If you&apos;re trying to be &quot;safer&quot; well I&apos;m wondering exactly who you&apos;re protecting, since any situation where it would be unsafe is also a situation where its unsafe to just let people run wild with the interactive console. &lt;/p&gt;</description>
                <environment></environment>
        <key id="202265">CDRIVER-635</key>
            <summary>The multi option should be true by default</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="jesse@mongodb.com">A. Jesse Jiryu Davis</assignee>
                                    <reporter username="fresheneesz">Billy Tetrud</reporter>
                        <labels>
                    </labels>
                <created>Tue, 5 May 2015 22:11:40 +0000</created>
                <updated>Wed, 3 May 2017 22:14:05 +0000</updated>
                            <resolved>Wed, 6 May 2015 13:38:04 +0000</resolved>
                                                                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="906752" author="fresheneesz" created="Wed, 6 May 2015 18:29:29 +0000"  >&lt;p&gt;Sounds like that&apos;s the right approach, thanks Jesse!&lt;/p&gt;</comment>
                            <comment id="906324" author="jesse" created="Wed, 6 May 2015 13:38:04 +0000"  >&lt;p&gt;So sorry for the trouble. I agree that the behavior of &quot;multi&quot; is bad, but it&apos;s too late to change it. It&apos;s been that way from the beginning and multi consistently defaults to &quot;false&quot; across the MongoDB shell and all drivers:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://docs.mongodb.org/manual/reference/method/db.collection.update/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://docs.mongodb.org/manual/reference/method/db.collection.update/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Since we can&apos;t fix it without breaking everyone&apos;s existing code, we&apos;re replacing the bad &quot;update&quot; API with new, clear APIs &quot;updateOne&quot; and &quot;updateMany&quot;:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://www.mongodb.com/blog/post/consistent-crud-api-next-generation-mongodb-drivers&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://www.mongodb.com/blog/post/consistent-crud-api-next-generation-mongodb-drivers&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I didn&apos;t have a ticket to track the implementation of this new spec in libmongoc, so I&apos;ve opened one: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-637&quot; title=&quot;Implement CRUD API spec&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-637&quot;&gt;&lt;del&gt;CDRIVER-637&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="905926" author="fresheneesz" created="Tue, 5 May 2015 22:17:19 +0000"  >&lt;p&gt;This should be part of the Core Server project - i couldn&apos;t find that in the list or didn&apos;t see it&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="195303">DRIVERS-220</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                        <customfield id="customfield_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10011"><![CDATA[Minor Change]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <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|hs928v:</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>