<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:02:28 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-3229] Special Characters in Property Names</title>
                <link>https://jira.mongodb.org/browse/SERVER-3229</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;I&apos;d like to see mongodb add support for special characters in field names. By special characters, I&apos;m referring to the ascii classics such as ?, !, #, @, %, ^, and *. If that list is a bit daunting, then the main use case I have involves the question mark. In Ruby, as you may know, names, such method or variable names, can end in a question mark. The purpose of the question mark ties into the language slightly, but once you get use to and use some other data system which doesn&apos;t support the question mark, you really miss its expressiveness. In Ruby, if the convention is followed, it tells you at a glance if a name represents a predicate (true or false), or some other data. If your thinking a simple question mark serves no other purpose than offering syntactic sugar, think again, as it&apos;s semantic power shouldn&apos;t be underestimated. Here are some examples:&lt;/p&gt;

&lt;p&gt;paid: &apos;Credit Card&apos;&lt;br/&gt;
paid?: true&lt;/p&gt;

&lt;p&gt;red?: false&lt;br/&gt;
red: &apos;A vibrant color&apos;&lt;/p&gt;

&lt;p&gt;I&apos;m not suggesting you&apos;d ever use near identical property names like that, but it highlights how the property names &apos;paid&apos; and &apos;red&apos; can each represent completely different types of data, and how the use of the question mark can clarify the properties meaning or context. It sure beats the likes of &apos;has_paid&apos; and &apos;is_red&apos;. It&apos;s a shame that special characters are so feared in the world of syntax.&lt;/p&gt;

&lt;p&gt;I&apos;d just ask that including the question mark, if not other special characters, be considered.&lt;/p&gt;</description>
                <environment></environment>
        <key id="18064">SERVER-3229</key>
            <summary>Special Characters in Property Names</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="9">Done</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="wardrop">Tom Wardrop</reporter>
                        <labels>
                            <label>syntax</label>
                    </labels>
                <created>Thu, 9 Jun 2011 11:15:29 +0000</created>
                <updated>Fri, 8 Dec 2017 18:58:26 +0000</updated>
                            <resolved>Thu, 9 Jun 2011 13:32:34 +0000</resolved>
                                                                                        <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="1747177" author="nightroman" created="Fri, 8 Dec 2017 18:55:08 +0000"  >&lt;p&gt;In 3.6 it seems to be possible to add fields with a dot. Is this by design?&lt;/p&gt;

&lt;p&gt;Example (works):&lt;/p&gt;

&lt;p&gt;    db.test.update({y : {y : &lt;/p&gt;
{&quot;bad.1&quot; : 1}
&lt;p&gt;}}, {$setOnInsert : {x : 42}}, &lt;/p&gt;
{upsert : true}
&lt;p&gt;)&lt;/p&gt;</comment>
                            <comment id="818376" author="ilanbiala" created="Fri, 30 Jan 2015 23:30:57 +0000"  >&lt;p&gt;I just tried using the character &quot;.&quot; in the field name, and it didn&apos;t work. Has this been decided as a wontfix, or just not enough need, or something else?&lt;/p&gt;</comment>
                            <comment id="36978" author="wardrop" created="Fri, 10 Jun 2011 10:57:52 +0000"  >&lt;p&gt;Well that&apos;s embarrassing. Premature ejac... issuisation.&lt;/p&gt;</comment>
                            <comment id="36821" author="scotthernandez" created="Thu, 9 Jun 2011 13:32:34 +0000"  >&lt;p&gt;You can use any (UTF8) character in the field name which aren&apos;t special (contains &quot;.&quot;, or starts with &quot;$&quot;).&lt;/p&gt;

&lt;p&gt;&amp;gt; db.names.insert({_id:1, &quot;test?&quot;:1})&lt;br/&gt;
&amp;gt; db.names.find()                    &lt;/p&gt;
{ &quot;_id&quot; : 1, &quot;test?&quot; : 1 }</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>4.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10038"><![CDATA[Fully Compatible]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 9 Jun 2011 13:32:34 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        6 years, 9 weeks, 5 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>nightroman</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            6 years, 9 weeks, 5 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10000" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Old_Backport</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10000"><![CDATA[No]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>ilanbiala</customfieldvalue>
            <customfieldvalue>nightroman</customfieldvalue>
            <customfieldvalue>scotthernandez</customfieldvalue>
            <customfieldvalue>wardrop</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hroy6n:</customfieldvalue>

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

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

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