<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:37:26 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-650] Support LINQ All by converting to !Any</title>
                <link>https://jira.mongodb.org/browse/CSHARP-650</link>
                <project id="10041" key="CSHARP">C# Driver</project>
                    <description>&lt;p&gt;The following two LINQ queries are semantically equivalent:&lt;/p&gt;

&lt;ol&gt;
	&lt;li&gt;queryable.All(d =&amp;gt; d.Field)&lt;/li&gt;
	&lt;li&gt;!queryable.Any(d =&amp;gt; !d.Field)&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;The second LINQ query is supported by the C# driver, whereas the first is not. &lt;/p&gt;

&lt;p&gt;In principle it should be possible to support the first query as well by translating it into the second query.&lt;/p&gt;</description>
                <environment></environment>
        <key id="59917">CSHARP-650</key>
            <summary>Support LINQ All by converting to !Any</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="-1">Unassigned</assignee>
                                    <reporter username="zaidmasud">Zaid Masud</reporter>
                        <labels>
                            <label>driver</label>
                            <label>linq</label>
                            <label>linq,query</label>
                    </labels>
                <created>Wed, 19 Dec 2012 17:26:24 +0000</created>
                <updated>Mon, 4 May 2015 15:06:14 +0000</updated>
                            <resolved>Mon, 4 May 2015 15:06:14 +0000</resolved>
                                                                    <component>Linq</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="904244" author="craiggwilson" created="Mon, 4 May 2015 15:06:14 +0000"  >&lt;p&gt;Hi Zaid/Kirill,&lt;/p&gt;

&lt;p&gt;We are not going to implement this. The change in the expression tree is fairly complex. While the PR handles the simple situation, it missed the edge cases related to conjunctions (and and or). These particular changes aren&apos;t even legal as elemMatch queries to the server. As such, I think it best that we keep this simple and just not support All at all.&lt;/p&gt;

&lt;p&gt;Craig&lt;/p&gt;</comment>
                            <comment id="264393" author="darkiri" created="Tue, 12 Feb 2013 20:21:09 +0000"  >&lt;p&gt;Submitted a pull request &lt;/p&gt;</comment>
                            <comment id="264391" author="darkiri" created="Tue, 12 Feb 2013 20:20:20 +0000"  >&lt;p&gt;Nice idea! Just one addition: the inverted query should look like c != null &amp;amp;&amp;amp; !c.Any(d =&amp;gt; !d.Field).&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_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>CSHARP-935</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hs7usn:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>103726</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="506">C# Sprint 19</customfieldvalue>

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