<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 02:53:33 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>[SERVER-260] $pop</title>
                <link>https://jira.mongodb.org/browse/SERVER-260</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;jstests/push.js&lt;/p&gt;</description>
                <environment></environment>
        <key id="10488">SERVER-260</key>
            <summary>$pop</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="9">Done</resolution>
                                        <assignee username="eliot">Eliot Horowitz</assignee>
                                    <reporter username="eliot">Eliot Horowitz</reporter>
                        <labels>
                    </labels>
                <created>Tue, 25 Aug 2009 18:08:41 +0000</created>
                <updated>Tue, 12 Jul 2016 00:29:52 +0000</updated>
                            <resolved>Mon, 7 Sep 2009 22:52:05 +0000</resolved>
                                                    <fixVersion>1.1.0</fixVersion>
                                    <component>Usability</component>
                                        <votes>0</votes>
                                    <watches>0</watches>
                                                                                                                <comments>
                            <comment id="10745" author="eliot" created="Tue, 15 Sep 2009 14:59:15 +0000"  >&lt;p&gt;released in 1.1.0&lt;/p&gt;</comment>
                            <comment id="10653" author="eliot" created="Mon, 7 Sep 2009 22:52:05 +0000"  >&lt;p&gt;fixed repl&lt;/p&gt;</comment>
                            <comment id="10649" author="aaron" created="Mon, 7 Sep 2009 17:19:50 +0000"  >&lt;p&gt;Current implementation doesn&apos;t appear to work correctly with replication.  See Pop and PopReverse tests in repltests.cpp&lt;/p&gt;</comment>
                            <comment id="10613" author="wouter" created="Tue, 1 Sep 2009 15:37:33 +0000"  >&lt;p&gt;Yeah well, 181 is more about $setting than $unsetting, so I left another comment at &lt;a href=&quot;http://jira.mongodb.org/browse/SERVER-134&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;http://jira.mongodb.org/browse/SERVER-134&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;I noticed just now you created another request about $unsetting with array indices at: &lt;a href=&quot;http://jira.mongodb.org/browse/SERVER-273&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;http://jira.mongodb.org/browse/SERVER-273&lt;/a&gt; so it seems that you&apos;re well aware of this feature request &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.mongodb.org/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;.&lt;/p&gt;</comment>
                            <comment id="10610" author="eliot" created="Tue, 1 Sep 2009 15:25:35 +0000"  >&lt;p&gt;wouter: i think you want &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-181&quot; title=&quot;$set with array indexes&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-181&quot;&gt;&lt;del&gt;SERVER-181&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="10609" author="wouter" created="Tue, 1 Sep 2009 15:22:31 +0000"  >&lt;p&gt; What about being able to pop/unset a value in an array based on it&apos;s key?! &lt;/p&gt;

&lt;p&gt;Dot notated key support for $unset&lt;/p&gt;

&lt;p&gt;{ $unset : &lt;/p&gt;
{ &apos;array.5&apos; : TRUE }
&lt;p&gt; }&lt;/p&gt;

&lt;p&gt;or an array specific operator&lt;/p&gt;

&lt;p&gt;{ $popshift : &lt;/p&gt;
{ array : 5 }
&lt;p&gt; }&lt;/p&gt;</comment>
                            <comment id="10554" author="eliot" created="Wed, 26 Aug 2009 07:20:37 +0000"  >&lt;p&gt;In general I&apos;d rathetr have less operators for simplicity, so if you can re-use 1 that&apos;s ideal.&lt;/p&gt;

&lt;p&gt;But if you think $shift is important, you can add a case and we can probably get to it.&lt;/p&gt;</comment>
                            <comment id="10553" author="sandstrom" created="Wed, 26 Aug 2009 04:38:18 +0000"  >&lt;p&gt;&lt;a href=&quot;http://www.mongodb.org/display/DOCS/Updating&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://www.mongodb.org/display/DOCS/Updating&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Nice to see that pop has been implemented. A thought though, wouldn&apos;t it be better to use shift for removal of the first element of an array, thats how it works in 99% of programming languages. The current implementation using pop(-1) if it&apos;s actually a shift is very unconventional.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>8.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 26 Aug 2009 04:38:18 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        14 years, 23 weeks, 1 day ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></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_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>ramon.fernandez@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            14 years, 23 weeks, 1 day ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>aaron</customfieldvalue>
            <customfieldvalue>eliot</customfieldvalue>
            <customfieldvalue>sandstrom</customfieldvalue>
            <customfieldvalue>wouter</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrpwbz:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hriva7:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>23721</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_22870" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Triagers</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hsp6fj:</customfieldvalue>

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