<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 02:52:49 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-22] Feature-Req: index-based constraints and field &quot;mutators&quot;</title>
                <link>https://jira.mongodb.org/browse/SERVER-22</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;In addition to the much needed unique constraint, various other index-based constraints and &quot;mutators&quot; (for the lack of a better term) would be helpful.&lt;/p&gt;

&lt;p&gt;Ideas for Constraints:&lt;/p&gt;

&lt;p&gt;unique  ==  field on inserted element must be unique&lt;br/&gt;
gt           ==   field on inserted element must be greater than current MAX_VALUE&lt;br/&gt;
lt             ==  field on inserted element must be smaller than current MIN_VALUE&lt;/p&gt;


&lt;p&gt;&quot;Mutators&quot; would be things like:&lt;/p&gt;

&lt;p&gt;auto_increment  == field on inserted element auto increments to MAX_VALUE+1&lt;br/&gt;
trigger                   == provided javascript is executed on this field of all inserted elements&lt;/p&gt;

&lt;p&gt;Feel free to edit this text if there&apos;s a better, established term for what I called &quot;mutators&quot; here.&lt;/p&gt;</description>
                <environment></environment>
        <key id="10069">SERVER-22</key>
            <summary>Feature-Req: index-based constraints and field &quot;mutators&quot;</summary>
                <type id="2" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14711&amp;avatarType=issuetype">New Feature</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="2">Won&apos;t Fix</resolution>
                                        <assignee username="david.storch@mongodb.com">David Storch</assignee>
                                    <reporter username="raz">Jim Jones</reporter>
                        <labels>
                    </labels>
                <created>Sat, 18 Apr 2009 01:25:05 +0000</created>
                <updated>Thu, 3 Dec 2015 22:16:44 +0000</updated>
                            <resolved>Thu, 3 Dec 2015 22:16:30 +0000</resolved>
                                                                    <component>Index Maintenance</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="1104927" author="david.storch" created="Thu, 3 Dec 2015 22:16:23 +0000"  >&lt;ul&gt;
	&lt;li&gt;Unique indices have been implemented. See &lt;a href=&quot;https://docs.mongodb.org/manual/tutorial/create-a-unique-index/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://docs.mongodb.org/manual/tutorial/create-a-unique-index/&lt;/a&gt;.&lt;/li&gt;
	&lt;li&gt;You can achieve other kinds of constraint validation using &lt;a href=&quot;https://docs.mongodb.org/manual/release-notes/3.2/#document-validation&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Document Validation&lt;/a&gt;, which will be available starting with version 3.2.0.&lt;/li&gt;
	&lt;li&gt;The request for triggers duplicates &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-124&quot; title=&quot;triggers &quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-124&quot;&gt;SERVER-124&lt;/a&gt;.&lt;/li&gt;
	&lt;li&gt;The request for auto-incrementing keys duplicates &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-195&quot; title=&quot;AutoIncrement IDs&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-195&quot;&gt;&lt;del&gt;SERVER-195&lt;/del&gt;&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Closing as Won&apos;t Fix.&lt;/p&gt;</comment>
                            <comment id="10173" author="aaron" created="Fri, 29 May 2009 15:02:39 +0000"  >&lt;p&gt;We have implemented the key uniqueness constraint (&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-14&quot; title=&quot;unique indexes&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-14&quot;&gt;&lt;del&gt;SERVER-14&lt;/del&gt;&lt;/a&gt;).&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>2.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 29 May 2009 15:02:39 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        8 years, 10 weeks, 6 days 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>david.storch@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            8 years, 10 weeks, 6 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>aaron</customfieldvalue>
            <customfieldvalue>david.storch@mongodb.com</customfieldvalue>
            <customfieldvalue>raz</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrpyrr:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>6660</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|ht0qdj:</customfieldvalue>

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