<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 22:05:48 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>[CXX-2399] Support &apos;let&apos; option for multiple CRUD commands</title>
                <link>https://jira.mongodb.org/browse/CXX-2399</link>
                <project id="11980" key="CXX">C++ Driver</project>
                    <description>&lt;p&gt;This ticket was split from DRIVERS-1788, please see that ticket for a detailed description.&lt;/p&gt;</description>
                <environment></environment>
        <key id="1903688">CXX-2399</key>
            <summary>Support &apos;let&apos; option for multiple CRUD commands</summary>
                <type id="14901" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14700&amp;avatarType=issuetype">Spec Change</type>
                                            <priority id="10300" iconUrl="https://jira.mongodb.org/images/icons/priorities/medium.svg">Unknown</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="13201">Fixed</resolution>
                                        <assignee username="ezra.chung@mongodb.com">Ezra Chung</assignee>
                                    <reporter username="dbeng-pm-bot">PM Bot</reporter>
                        <labels>
                            <label>size-small</label>
                    </labels>
                <created>Wed, 20 Oct 2021 17:57:49 +0000</created>
                <updated>Sat, 28 Oct 2023 11:26:50 +0000</updated>
                            <resolved>Thu, 7 Jul 2022 20:24:40 +0000</resolved>
                                                    <fixVersion>3.7.0</fixVersion>
                                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="4664639" author="xgen-internal-githook" created="Thu, 7 Jul 2022 20:24:02 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Ezra Chung&apos;, &apos;email&apos;: &apos;88335979+eramongodb@users.noreply.github.com&apos;, &apos;username&apos;: &apos;eramongodb&apos;}
&lt;p&gt;Message: Add &apos;let&apos; option support for CRUD commands (#873)&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/CXX-2399&quot; title=&quot;Support &amp;#39;let&amp;#39; option for multiple CRUD commands&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CXX-2399&quot;&gt;&lt;del&gt;CXX-2399&lt;/del&gt;&lt;/a&gt; Sync CRUD unified spec tests with 1519da92&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/CXX-2399&quot; title=&quot;Support &amp;#39;let&amp;#39; option for multiple CRUD commands&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CXX-2399&quot;&gt;&lt;del&gt;CXX-2399&lt;/del&gt;&lt;/a&gt; Sync CRUD unified spec tests with 1fe5ca5e&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/CXX-2428&quot; title=&quot;Add &amp;#39;let&amp;#39; option to ReplaceOptions&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CXX-2428&quot;&gt;&lt;del&gt;CXX-2428&lt;/del&gt;&lt;/a&gt; Sync CRUD unified spec tests with 1823a4e9&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/CXX-2455&quot; title=&quot;Fix server version incompatibility for updateOne-let and updateMany-let server-side error tests&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CXX-2455&quot;&gt;&lt;del&gt;CXX-2455&lt;/del&gt;&lt;/a&gt; Sync CRUD unified spec tests with 4a8ac5ff&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/CXX-2486&quot; title=&quot;Use $$unsetOrMatches for upsert and multi in update command expectations&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CXX-2486&quot;&gt;&lt;del&gt;CXX-2486&lt;/del&gt;&lt;/a&gt; Sync CRUD unified spec tests with 51ca03b0&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;Add let support for delete commands&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;Add let support for find commands&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;Add let support for replaceOne&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;Add let support for update commands&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-cxx-driver/commit/984b1db6ebb5ecdf49c58e5fb7051a4064abcb24&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-cxx-driver/commit/984b1db6ebb5ecdf49c58e5fb7051a4064abcb24&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="1984739">CXX-2455</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2020319">CXX-2486</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10020">
                    <name>Gantt Dependency</name>
                                                                <inwardlinks description="has to be done after">
                                        <issuelink>
            <issuekey id="1999870">CXX-2464</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="1684410">CXX-2229</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10620">
                    <name>Issue split</name>
                                                                <inwardlinks description="split from">
                                                        </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <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_21553" key="com.atlassian.jira.plugin.system.customfieldtypes:labels">
                        <customfieldname>Quarter</customfieldname>
                        <customfieldvalues>
                                        <label>FY22Q4</label>
    
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr6im7:</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>
                                                                                                                        <customfield id="customfield_11150" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>SERVER fixVersion</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="20500"><![CDATA[5.0]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_22279" key="com.atlassian.jira.plugin.system.customfieldtypes:labels">
                        <customfieldname>Server Compat</customfieldname>
                        <customfieldvalues>
                                        <label>4.7</label>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_21457" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Upstream Changes Summary</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>&lt;p&gt;DRIVERS-1788:&lt;br/&gt;
Drivers should add a new let option to find, findAndModify, update, and delete helper methods and sync CRUD unified spec tests with &lt;a href=&quot;https://github.com/mongodb/specifications/commit/1519da92c882fa902c365700bb2a1d21a6d66244&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;mongodb/specifications@1519da9&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;For MongoDB 5.0+, the mentioned CRUD commands accept a let option of type object. This object consists of any amount of parameter names each followed by definitions of constants in the MQL Aggregate Expression language. Each parameter name is then usable to access the value of the corresponding MQL Expression with the &quot;$$&quot; syntax.&lt;/p&gt;

&lt;p&gt;This ticket is a follow-up for &lt;a href=&quot;https://jira.mongodb.org/browse/DRIVERS-776&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;DRIVERS-776&lt;/a&gt;&lt;/p&gt;</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>