<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:20:14 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-4198] Support &apos;let&apos; option for multiple CRUD commands</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-4198</link>
                <project id="10030" key="CDRIVER">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="1903687">CDRIVER-4198</key>
            <summary>Support &apos;let&apos; option for multiple CRUD commands</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</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="jmikola@mongodb.com">Jeremy Mikola</assignee>
                                    <reporter username="dbeng-pm-bot">PM Bot</reporter>
                        <labels>
                            <label>size-small</label>
                    </labels>
                <created>Wed, 20 Oct 2021 17:57:47 +0000</created>
                <updated>Sat, 28 Oct 2023 11:28:18 +0000</updated>
                            <resolved>Thu, 24 Mar 2022 19:04:12 +0000</resolved>
                                                    <fixVersion>1.22.0</fixVersion>
                    <fixVersion>1.22.0-beta0</fixVersion>
                                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="4433340" author="xgen-internal-githook" created="Thu, 24 Mar 2022 19:04:00 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Jeremy Mikola&apos;, &apos;email&apos;: &apos;jmikola@gmail.com&apos;, &apos;username&apos;: &apos;jmikola&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-4198&quot; title=&quot;Support &amp;#39;let&amp;#39; option for multiple CRUD commands&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-4198&quot;&gt;&lt;del&gt;CDRIVER-4198&lt;/del&gt;&lt;/a&gt; let option for CRUD commands (#957)&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;Add &quot;let&quot; option to CRUD methods&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;mongoc_bulk_operation_set_let&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;Support &quot;let&quot; option for delete, update, and findAndModify&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;CRUD spec tests for &quot;let&quot; option&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Synced with mongodb/specifications@1028c348c86bb2c0ea313c30ed8320825048fe5d&lt;/p&gt;

&lt;p&gt;Also includes some test changes related to &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-4063&quot; title=&quot;Skip tests that use disabled serverless features&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-4063&quot;&gt;CDRIVER-4063&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;Document &quot;let&quot; option for mongoc_collection_find_with_opts&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;mongoc_bulk_operation_t tests for &quot;let&quot; option&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/12b697c3da6fce05d92f2d85c6c4d2f9cde8d9f1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/12b697c3da6fce05d92f2d85c6c4d2f9cde8d9f1&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="4411880" author="jmikola@gmail.com" created="Tue, 15 Mar 2022 01:32:37 +0000"  >&lt;p&gt;&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/pull/957&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/pull/957&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4357085" author="jmikola@gmail.com" created="Tue, 15 Feb 2022 19:37:47 +0000"  >&lt;p&gt;Adding &quot;split from&quot; relationship to &lt;a href=&quot;https://jira.mongodb.org/browse/DRIVERS-2027&quot; title=&quot;Add &amp;#39;let&amp;#39; option to ReplaceOptions&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DRIVERS-2027&quot;&gt;&lt;del&gt;DRIVERS-2027&lt;/del&gt;&lt;/a&gt;, which is a follow-up ticket for DRIVERS-1788.&lt;/p&gt;

&lt;p&gt;Also deleting CDRIVER-4261, which was a separate follow-up ticket just for ReplaceOptions, so that we can consolidate all of the work in this ticket.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="1921591">PHPC-2005</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="1903693">PHPLIB-748</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10620">
                    <name>Issue split</name>
                                                                <inwardlinks description="split from">
                                        <issuelink>
            <issuekey id="1984722">DRIVERS-2210</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="1995024">DRIVERS-2226</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="1974394">DRIVERS-2183</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="1962228">DRIVERS-2027</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="2020293">CDRIVER-4329</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2036386">CDRIVER-4373</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                                        </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|i02g78:</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>