<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:35:41 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>[CSHARP-54] Support for querying using JS functions in $where clause</title>
                <link>https://jira.mongodb.org/browse/CSHARP-54</link>
                <project id="10041" key="CSHARP">C# Driver</project>
                    <description>&lt;p&gt;Can support for the following MongoDB feature be added:&lt;/p&gt;

&lt;p&gt;db.myCollection.find( { active: true, $where: function() &lt;/p&gt;
{ return obj.credits - obj.debits &amp;lt; 0; }
&lt;p&gt; } );&lt;/p&gt;</description>
                <environment></environment>
        <key id="12548">CSHARP-54</key>
            <summary>Support for querying using JS functions in $where clause</summary>
                <type id="2" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14711&amp;avatarType=issuetype">New Feature</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="sam">Sam Corder</assignee>
                                    <reporter username="penfold">Pen Fold</reporter>
                        <labels>
                    </labels>
                <created>Sun, 25 Jul 2010 15:24:15 +0000</created>
                <updated>Fri, 29 Oct 2010 14:28:38 +0000</updated>
                            <resolved>Fri, 29 Oct 2010 14:28:38 +0000</resolved>
                                                                    <component>SAMUS</component>
                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="16134" author="penfold" created="Sun, 25 Jul 2010 19:13:17 +0000"  >&lt;p&gt;Great, I missed that.&lt;/p&gt;</comment>
                            <comment id="16132" author="lanwin" created="Sun, 25 Jul 2010 16:55:37 +0000"  >&lt;p&gt;That is already supported. First you have still the option to create that directly as Document.&lt;/p&gt;

&lt;p&gt;myCollection.Find(new Document(&quot;active&quot;,true).Add(&quot;$where&quot;,new Code(&quot;return obj.credits - obj.debits &amp;lt; 0;&quot;));&lt;/p&gt;

&lt;p&gt;Second we have the Op.Where(&quot;return obj.credits - obj.debits &amp;lt; 0;&quot;) operator for that.&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|hrh9yv:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>14414</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>