<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:20:11 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-4182] Extra dot operator for element wise aggregation expressions</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-4182</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>&lt;p&gt;I would like to use the $set operator and dot notation to update embedded array elements, using corresponding old elements.&lt;/p&gt;

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

&lt;p&gt;However, if the field is member of an array by selecting it you are selecting all of them.&lt;/p&gt;


&lt;p&gt;{{{ar :[&lt;/p&gt;
{&quot;a&quot; : 1}
&lt;p&gt;, &lt;/p&gt;
{&quot;a&quot; : 2}
&lt;p&gt;]}}}&lt;/p&gt;

&lt;p&gt;&lt;tt&gt;&quot;$ar.a&quot; = &lt;span class=&quot;error&quot;&gt;&amp;#91;1 ,2&amp;#93;&lt;/span&gt;&lt;/tt&gt;&lt;/p&gt;

&lt;p&gt;{{}}&lt;/p&gt;

&lt;p&gt;Suggestions: &lt;/p&gt;

&lt;p&gt;a) Extra dot operator for element wise access:&lt;/p&gt;

&lt;p&gt;{{}}{{&quot;$ar:a&quot; = 1&#160;&#160;&#160;&#160; (for one case and 2 for the other )&lt;br/&gt;
}}&lt;/p&gt;

&lt;p&gt;b) Suppport of positional operator in $set stage&lt;/p&gt;

&lt;p&gt;&lt;tt&gt;&quot;$ar.$.a&quot;&lt;/tt&gt;&lt;/p&gt;

&lt;p&gt;{{}}&lt;/p&gt;

&lt;p&gt;{{Also see&lt;br/&gt;
}}{{}}&lt;/p&gt;

&lt;p&gt;&lt;tt&gt;&lt;a href=&quot;https://stackoverflow.com/questions/69494035/how-to-use-set-and-dot-notation-to-update-embedded-array-elements-using-corresp/69499878#69499878&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://stackoverflow.com/questions/69494035/how-to-use-set-and-dot-notation-to-update-embedded-array-elements-using-corresp/69499878#69499878&lt;/a&gt;&lt;/tt&gt;&lt;/p&gt;</description>
                <environment></environment>
        <key id="1894886">CDRIVER-4182</key>
            <summary>Extra dot operator for element wise aggregation expressions</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="12300">Won&apos;t Do</resolution>
                                        <assignee username="kevin.albertson@mongodb.com">Kevin Albertson</assignee>
                                    <reporter username="eis@isi.fhg.de">Stephan M&#252;ller</reporter>
                        <labels>
                            <label>needs-first-responder</label>
                    </labels>
                <created>Mon, 11 Oct 2021 08:42:41 +0000</created>
                <updated>Tue, 15 Feb 2022 16:50:38 +0000</updated>
                            <resolved>Tue, 15 Feb 2022 16:50:38 +0000</resolved>
                                                                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="4356480" author="kevin.albertson" created="Tue, 15 Feb 2022 16:50:38 +0000"  >&lt;p&gt;Hello &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=eis%40isi.fhg.de&quot; class=&quot;user-hover&quot; rel=&quot;eis@isi.fhg.de&quot;&gt;eis@isi.fhg.de&lt;/a&gt; the CDRIVER project is for bugs or feature requests for the &lt;a href=&quot;https://github.com/mongodb/mongo-c-driver&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;MongoDB C driver&lt;/a&gt;. This is a feature request for the MongoDB server.&lt;/p&gt;

&lt;p&gt;To suggest a New Feature for the MongoDB server, please visit &lt;a href=&quot;https://feedback.mongodb.com&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://feedback.mongodb.com&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="4161504" author="esha.bhargava" created="Mon, 1 Nov 2021 19:18:07 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=eis%40isi.fhg.de&quot; class=&quot;user-hover&quot; rel=&quot;eis@isi.fhg.de&quot;&gt;eis@isi.fhg.de&lt;/a&gt; Thank you for reporting this issue! We&apos;ll look into it and get back to you soon. &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|hr6ihj:</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>