<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:41:37 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-2103] Make Query Syntax Async method!</title>
                <link>https://jira.mongodb.org/browse/CSHARP-2103</link>
                <project id="10041" key="CSHARP">C# Driver</project>
                    <description>&lt;p&gt;There are no async method in &lt;b&gt;Linq Query Syntax&lt;/b&gt; when you want to retrieve an object.&lt;/p&gt;

&lt;p&gt;For example:&lt;/p&gt;

&lt;p&gt;var peter = await (from x in collection.AsQueryable()&lt;br/&gt;
                   where x.Name == &quot;Peter&quot;&lt;br/&gt;
                   select x).FirstOrDefaultAsync();&lt;/p&gt;

&lt;p&gt;This will create an error. &lt;b&gt;FirstOrDefaultAsync()&lt;/b&gt; does not exist. However, &lt;b&gt;FirstOrDefault()&lt;/b&gt; does exit.&lt;/p&gt;

&lt;p&gt;But the async method exists in &lt;b&gt;Linq Method Syntax&lt;/b&gt;.&lt;/p&gt;

&lt;p&gt;I also wrote it in Stackoverflow here: &lt;a href=&quot;https://stackoverflow.com/questions/47169729/is-mongodb-c-sharp-driver-linq-query-syntax-missing-async-method?noredirect=1#comment81290069_47169729&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://stackoverflow.com/questions/47169729/is-mongodb-c-sharp-driver-linq-query-syntax-missing-async-method?noredirect=1#comment81290069_47169729&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;It would be so awesome if we could get this feature &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.mongodb.org/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;</description>
                <environment></environment>
        <key id="460946">CSHARP-2103</key>
            <summary>Make Query Syntax Async method!</summary>
                <type id="3" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14718&amp;avatarType=issuetype">Task</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="Assassinbeast">Danny Chu [X]</reporter>
                        <labels>
                            <label>question</label>
                    </labels>
                <created>Sat, 18 Nov 2017 12:40:02 +0000</created>
                <updated>Fri, 5 Apr 2019 13:59:14 +0000</updated>
                            <resolved>Tue, 23 Jan 2018 21:23:21 +0000</resolved>
                                    <version>2.4.4</version>
                                                    <component>Linq</component>
                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="1729833" author="assassinbeast" created="Sun, 19 Nov 2017 15:33:37 +0000"  >&lt;p&gt;Okay, it exists anyway. A new answer was made on the Stackoverflow.&lt;br/&gt;
How do i close this case?&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                        <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_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|htc1sn:</customfieldvalue>

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