<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:37:44 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-753] Allow &gt;, &gt;=, &lt;, &lt;= comparison on array size</title>
                <link>https://jira.mongodb.org/browse/CSHARP-753</link>
                <project id="10041" key="CSHARP">C# Driver</project>
                    <description>&lt;p&gt;Noticed when trying to build a query that only equals and not equals is supported. It is possible to implement this using JohnnyHK&apos;s answer from this post:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://stackoverflow.com/questions/7811163/in-mongo-db-how-do-i-find-documents-where-array-size-is-greater-than-1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://stackoverflow.com/questions/7811163/in-mongo-db-how-do-i-find-documents-where-array-size-is-greater-than-1&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;// Find all docs that have at least a second name array element.&lt;br/&gt;
db.accommodations.find({&apos;name.1&apos;: {$exists: true}})&lt;/p&gt;</description>
                <environment>C#, .NET 4.5, Linq</environment>
        <key id="78224">CSHARP-753</key>
            <summary>Allow &gt;, &gt;=, &lt;, &lt;= comparison on array size</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="robert@mongodb.com">Robert Stam</assignee>
                                    <reporter username="roysvork">Pete Smith</reporter>
                        <labels>
                    </labels>
                <created>Fri, 7 Jun 2013 12:18:46 +0000</created>
                <updated>Thu, 2 Apr 2015 18:27:42 +0000</updated>
                            <resolved>Mon, 17 Feb 2014 16:24:33 +0000</resolved>
                                    <version>1.8.1</version>
                                    <fixVersion>1.9</fixVersion>
                                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="500228" author="xgen-internal-githook" created="Mon, 17 Feb 2014 16:22:58 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;rstam&apos;, u&apos;name&apos;: u&apos;rstam&apos;, u&apos;email&apos;: u&apos;robert@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-753&quot; title=&quot;Allow &amp;gt;, &amp;gt;=, &amp;lt;, &amp;lt;= comparison on array size&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-753&quot;&gt;&lt;del&gt;CSHARP-753&lt;/del&gt;&lt;/a&gt;: Added Pete Smith to the contributors list.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-csharp-driver/commit/b5cefe92c82df537617417321a10cab77bb9ef9d&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-csharp-driver/commit/b5cefe92c82df537617417321a10cab77bb9ef9d&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="500222" author="xgen-internal-githook" created="Mon, 17 Feb 2014 16:10:02 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;rstam&apos;, u&apos;name&apos;: u&apos;rstam&apos;, u&apos;email&apos;: u&apos;robert@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-753&quot; title=&quot;Allow &amp;gt;, &amp;gt;=, &amp;lt;, &amp;lt;= comparison on array size&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-753&quot;&gt;&lt;del&gt;CSHARP-753&lt;/del&gt;&lt;/a&gt;: Added unit tests for List length queries.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-csharp-driver/commit/52f3c30abf9dbfae68394a9294c1b3e3afb29cd1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-csharp-driver/commit/52f3c30abf9dbfae68394a9294c1b3e3afb29cd1&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="500221" author="xgen-internal-githook" created="Mon, 17 Feb 2014 16:09:59 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;rstam&apos;, u&apos;name&apos;: u&apos;rstam&apos;, u&apos;email&apos;: u&apos;robert@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-753&quot; title=&quot;Allow &amp;gt;, &amp;gt;=, &amp;lt;, &amp;lt;= comparison on array size&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-753&quot;&gt;&lt;del&gt;CSHARP-753&lt;/del&gt;&lt;/a&gt;: Added SizeLessThan and SizeLessThanOrEqual.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-csharp-driver/commit/6f590838fed05c69449d1fd2e1b4a70a39ab1086&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-csharp-driver/commit/6f590838fed05c69449d1fd2e1b4a70a39ab1086&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="500220" author="xgen-internal-githook" created="Mon, 17 Feb 2014 16:09:57 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;Roysvork&apos;, u&apos;name&apos;: u&apos;Pete Smith&apos;, u&apos;email&apos;: u&apos;roysvork@gmail.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-753&quot; title=&quot;Allow &amp;gt;, &amp;gt;=, &amp;lt;, &amp;lt;= comparison on array size&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-753&quot;&gt;&lt;del&gt;CSHARP-753&lt;/del&gt;&lt;/a&gt;: Implemented &amp;gt;, &amp;gt;=, &amp;lt;, &amp;lt;= comparisons against array size&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-csharp-driver/commit/3c01537754139ac392ebbee028ac5d42b3a857d7&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-csharp-driver/commit/3c01537754139ac392ebbee028ac5d42b3a857d7&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="358726" author="craiggwilson" created="Wed, 12 Jun 2013 16:05:43 +0000"  >&lt;p&gt;Interesting idea.  We&apos;ll definitely consider this.&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|hrr0wf:</customfieldvalue>

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